/** * Constructor of <code>TMultiplexedProtocol</code> class. * * Wrap the specified protocol, allowing it to be used to communicate with a * multiplexing server. The <code>$serviceName</code> is required as it is * prepended to the message header so that the multiplexing server can broker * the function call to the proper service. * * @param TProtocol $protocol * @param string $serviceName The name of service. */ public function __construct(TProtocol $protocol, $serviceName) { parent::__construct($protocol); $this->serviceName_ = $serviceName; }
public function __construct(TProtocol $protocol, $fname, $mtype, $rseqid) { parent::__construct($protocol); $this->fname_ = $fname; $this->mtype_ = $mtype; $this->rseqid_ = $rseqid; }