SEPARATOR
SEPARATOR = ":" : string
Separator between service name and function name.
Should be the same as used at multiplexed Thrift server.
<code>TMultiplexedProtocol</code> is a protocol-independent concrete decorator that allows a Thrift client to communicate with a multiplexing Thrift server, by prepending the service name to the function name during function calls.
$concreteProtocol_ : \Thrift\Protocol\TProtocol
Instance of protocol, to which all operations will be forwarded.
__construct(\Thrift\Protocol\TProtocol $protocol, string $serviceName)
Constructor of <code>TMultiplexedProtocol</code> class.
Wrap the specified protocol, allowing it to be used to communicate with a
multiplexing server. The $serviceName is required as it is
prepended to the message header so that the multiplexing server can broker
the function call to the proper service.
| \Thrift\Protocol\TProtocol | $protocol | All operations will be forward to this instance. Must be non-null. |
| string | $serviceName | The name of service. |
writeMessageBegin(string $name, integer $type, integer $seqid)
Writes the message header.
Prepends the service name to the function name, separated by TMultiplexedProtocol::SEPARATOR.
| string | $name | Function name. |
| integer | $type | Message type. |
| integer | $seqid | The sequence id of this message. |
skip(\Thrift\Type\TType $type)
The skip function is a utility to parse over unrecognized date without causing corruption.
| \Thrift\Type\TType | $type | What type is it |