getChannelId() public method

Return internal channel ID
public getChannelId ( ) : integer
return integer
Beispiel #1
0
 /**
  * @inheritdoc
  */
 public function getChannelId()
 {
     return $this->delegate->getChannelId();
 }
 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;
 }
Beispiel #3
0
 /**
  * @inheritdoc
  */
 public function getChannelId() : int
 {
     return $this->channel->getChannelId();
 }
Beispiel #4
0
 /**
  * @return int
  */
 public function getChannelId()
 {
     return $this->rawChannel->getChannelId();
 }