isConnected() public method

Check the channel connection.
public isConnected ( ) : boolean
return boolean Indicates whether the channel is connected.
Exemplo n.º 1
0
 public static function castChannel(\AMQPChannel $c, array $a, Stub $stub, $isNested)
 {
     $prefix = Caster::PREFIX_VIRTUAL;
     $a += array($prefix . 'isConnected' => $c->isConnected(), $prefix . 'channelId' => $c->getChannelId(), $prefix . 'prefetchSize' => $c->getPrefetchSize(), $prefix . 'prefetchCount' => $c->getPrefetchCount(), $prefix . 'connection' => $c->getConnection());
     return $a;
 }
Exemplo n.º 2
0
 /**
  * @inheritdoc
  */
 public function isConnected() : bool
 {
     return $this->channel->isConnected();
 }
Exemplo n.º 3
0
 /**
  * @return bool
  */
 public function isConnected()
 {
     return $this->rawChannel->isConnected();
 }