TThreadedServer

A simple threaded server which spawns a new thread per connection.

Constructors

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)

Members

Functions

serve
void serve(TCancellation cancellation)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From TServer

serve
void serve(TCancellation cancellation)

Starts serving.

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.

Meta