Example #1
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct(Constants::FRAME_HEADER);
 }
Example #2
0
 public function __construct()
 {
     parent::__construct(Constants::FRAME_HEARTBEAT, Constants::CONNECTION_CHANNEL, 0, "");
 }
Example #3
0
 public function __construct($classId = null, $methodId = null)
 {
     parent::__construct(Constants::FRAME_METHOD);
     $this->classId = $classId;
     $this->methodId = $methodId;
 }
Example #4
0
 public function __construct($channel = null, $payloadSize = null, $payload = null)
 {
     parent::__construct(Constants::FRAME_BODY, $channel, $payloadSize, $payload);
 }