コード例 #1
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct(Constants::FRAME_HEADER);
 }
コード例 #2
0
ファイル: HeartbeatFrame.php プロジェクト: mabrahamde/bunny
 public function __construct()
 {
     parent::__construct(Constants::FRAME_HEARTBEAT, Constants::CONNECTION_CHANNEL, 0, "");
 }
コード例 #3
0
ファイル: MethodFrame.php プロジェクト: mabrahamde/bunny
 public function __construct($classId = null, $methodId = null)
 {
     parent::__construct(Constants::FRAME_METHOD);
     $this->classId = $classId;
     $this->methodId = $methodId;
 }
コード例 #4
0
ファイル: ContentBodyFrame.php プロジェクト: mabrahamde/bunny
 public function __construct($channel = null, $payloadSize = null, $payload = null)
 {
     parent::__construct(Constants::FRAME_BODY, $channel, $payloadSize, $payload);
 }