- this
this(TProcessor processor, TServerTransport serverTransport, TTransportFactory transportFactory, TProtocolFactory protocolFactory)
- this
this(TProcessorFactory processorFactory, TServerTransport serverTransport, TTransportFactory transportFactory, TProtocolFactory protocolFactory)
- this
this(TProcessor processor, TServerTransport serverTransport, TTransportFactory inputTransportFactory, TTransportFactory outputTransportFactory, TProtocolFactory inputProtocolFactory, TProtocolFactory outputProtocolFactory)
- this
this(TProcessorFactory processorFactory, TServerTransport serverTransport, TTransportFactory inputTransportFactory, TTransportFactory outputTransportFactory, TProtocolFactory inputProtocolFactory, TProtocolFactory outputProtocolFactory)
Undocumented in source.
- serve
void serve(TCancellation cancellation)
- eventHandler
TServerEventHandler eventHandler;
The server event handler to notify. Null by default.
- processorFactory_
TProcessorFactory processorFactory_;
Undocumented in source.
- serverTransport_
TServerTransport serverTransport_;
Undocumented in source.
- inputTransportFactory_
TTransportFactory inputTransportFactory_;
Undocumented in source.
- outputTransportFactory_
TTransportFactory outputTransportFactory_;
Undocumented in source.
- inputProtocolFactory_
TProtocolFactory inputProtocolFactory_;
Undocumented in source.
- outputProtocolFactory_
TProtocolFactory outputProtocolFactory_;
Undocumented in source.
- processorFactory
TProcessorFactory processorFactory [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- serverTransport
TServerTransport serverTransport [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- inputTransportFactory
TTransportFactory inputTransportFactory [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- outputTransportFactory
TTransportFactory outputTransportFactory [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- inputProtocolFactory
TProtocolFactory inputProtocolFactory [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- outputProtocolFactory
TProtocolFactory outputProtocolFactory [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
The most basic server.
It is single-threaded and after it accepts a connections, it processes requests on it until it closes, then waiting for the next connection.
It is not so much of use in production than it is for writing unittests, or as an example on how to provide a custom TServer implementation.