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