accept() accept() : \Thrift\Server\TTransport Uses the accept implemtation. If null is returned, an exception is thrown. Throws \Thrift\Exception\TTransportException Returns \Thrift\Server\TTransport
__construct() __construct(string $host = 'localhost', integer $port = 9090) : void ServerSocket constructor Parameters string $host Host to listen on integer $port Port to listen on
setAcceptTimeout() setAcceptTimeout(integer $acceptTimeout) : void Sets the accept timeout Parameters integer $acceptTimeout
acceptImpl() acceptImpl() : \Thrift\Transport\TSocket Implementation of accept. If not client is accepted in the given time Returns \Thrift\Transport\TSocket