(non-PHPdoc)
@see PAGI\Client.IClient::channelStatus()
777729
public function channelStatus($channel = '')
    {
        $cmd = implode(' ', array('CHANNEL', 'STATUS'));
        if ($channel !== '') {
            $cmd .= ' "' . $channel . '"';
        }
        $result = $this->send($cmd);
        return intval($result->getResult());
    }
1037726
public function outputStatus($code, $message = null)
    {
        $this->addHeader($code)->sendHeaders();

        if (isset($message)) {
            echo $message;
        }

        exit;
    }
876885
public function actionStatus()
    {
        $pid = $this->getMasterPid();
        Console::stdout("beyod($pid) is running ...\r\n");
        Console::stdout("php ini: ".php_ini_loaded_file()."\r\n");
        Console::stdout("php version: ".phpversion()."\r\n");
        Console::stdout("necessary extensions status:\r\n");
        foreach(['pcntl', 'event', 'posix'] as $ext){
            Console::stdout("\t$ext: \t". (extension_loaded($ext) ? 'yes':'no')."\r\n");
        }
    }
38953
def GetStatus(
        self,
        Channel):

        
        try:
            res = self.__m_dllBasic.CAN_GetStatus(Channel)
            return TPCANStatus(res)
        except:
            logger.error("Exception on PCANBasic.GetStatus")
            raise
22591
public function actionStatus()
    {
        if ($this->_getPid()) {
            echo 'Yii 2 Daemon ' . $this->version . ' status: running.' . PHP_EOL;
            return static::EXIT_CODE_NORMAL;
        }
        echo 'Yii 2 Daemon ' . $this->version . ' status: not running!' . PHP_EOL;
        return static::EXIT_CODE_ERROR;
    }
26263
public void setDeliveryChannelsStatus(java.util.Collection<DeliveryChannelStatus> deliveryChannelsStatus) {
        if (deliveryChannelsStatus == null) {
            this.deliveryChannelsStatus = null;
            return;
        }

        this.deliveryChannelsStatus = new com.amazonaws.internal.SdkInternalList<DeliveryChannelStatus>(deliveryChannelsStatus);
    }
957250
public static void sendNetStreamStatus(IConnection conn, String statusCode, String description, String name, String status, Number streamId) {
        if (conn instanceof RTMPConnection) {
            Status s = new Status(statusCode);
            s.setClientid(streamId);
            s.setDesciption(description);
            s.setDetails(name);
            s.setLevel(status);
            // get the channel
            RTMPConnection rtmpConn = (RTMPConnection) conn;
            Channel channel = rtmpConn.getChannel(rtmpConn.getChannelIdForStreamId(streamId));
            channel.sendStatus(s);
        } else {
            throw new RuntimeException("Connection is not RTMPConnection: " + conn);
        }
    }
1274643
public function information(): ChannelInformation
    {
        $response = $this->client->get(
            new Request(
                $this->channelUrl,
                [
                    'Accept' => 'application/json'
                ]
            )
        );

        if ($response->statusCode() !== Response::OK) {
            throw new NchanException(
                sprintf(
                    'Unable to get channel information. Maybe the channel does not exists. HTTP status code was %s.',
                    $response->statusCode()
                )
            );
        }

        return ChannelInformation::fromJson($response->body());
    }
694180
public function notifyNow($instance, array $channels = null)
    {
        app(Dispatcher::class)->sendNow($this, $instance, $channels);
    }
556324
public void sendBuffer(final HttpResponseStatus status,
                          final ChannelBuffer buf,
                          final String contentType) {
    if (!chan.isConnected()) {
      if(stats != null) {
        stats.markSendFailed();
      }
      done();
      return;
    }
    response.headers().set(HttpHeaders.Names.CONTENT_TYPE, contentType);

    // TODO(tsuna): Server, X-Backend, etc. headers.
    // only reset the status if we have the default status, otherwise the user
    // already set it
    response.setStatus(status);
    response.setContent(buf);
    final boolean keepalive = HttpHeaders.isKeepAlive(request);
    if (keepalive) {
      HttpHeaders.setContentLength(response, buf.readableBytes());
    }
    final ChannelFuture future = chan.write(response);
    if (stats != null) {
      future.addListener(new SendSuccess());
    }
    if (!keepalive) {
      future.addListener(ChannelFutureListener.CLOSE);
    }
    done();
  }
1254421
public function sendNotification($channels, Message $message, $options=array())
    {
        $status = array();
        foreach ($channels as $channel) {
            $notifier = $this->_getNotifier($channel);
            if (empty($notifier) === false) {
                $status[$channel] = $notifier->notify($message, $options);
            }

            return $status;
        }

    }
293955
public function setSuccessStatus(int $status, string $description = ""): RouteInterface
    {
        $this->statuses[$status] = HttpStatus::create()
            ->setStatus($status)
            ->setDescription($description)
            ->setMainSuccess(true);

        /**
         * This middleware is an "AFTER" middleware, so add it first to be run last...
         */
        return $this->addFirst(new SuccessStatusMiddleware($status));
    }
1366846
def simxAddStatusbarMessage(clientID, message, operationMode):
    '''
    
    '''

    if (sys.version_info[0] == 3) and (type(message) is str):
        message=message.encode('utf-8')
    return c_AddStatusbarMessage(clientID, message, operationMode)
873863
protected function filterStatus(int $status)
        {
            $messages = $this->getMessages();
            if (!isset($messages[$status])) {
                throw new \InvalidArgumentException('Invalid HTTP status code');
            }
            return $status;
        }
40835
protected function addStatusMessage($type, $messages)
    {
        if (!is_array($messages)) {
            $messages = array($messages);
        }
        $this->addData('status', array($type => $messages));
    }
1311566
public function getStatus()
    {
        $this->initialize();
        if ( ! ($this->riakClient instanceof RiakClient)) {
            return null;
        }

        return $this->riakClient->status;
    }
358596
function status ($reference_id, array $params = []) {
    return $this->get(sprintf(self::MESSAGING_STATUS_RESOURCE, $reference_id), $params);
  }