public class TThreadPoolServer extends TServer
Modifier and Type | Class and Description |
---|---|
static class |
TThreadPoolServer.Args |
TServer.AbstractServerArgs<T extends TServer.AbstractServerArgs<T>>
eventHandler_, inputProtocolFactory_, inputTransportFactory_, outputProtocolFactory_, outputTransportFactory_, processorFactory_, serverTransport_
Constructor and Description |
---|
TThreadPoolServer(TThreadPoolServer.Args args) |
Modifier and Type | Method and Description |
---|---|
void |
serve()
The run method fires up the server and gets things going.
|
void |
stop()
Stop the server.
|
getEventHandler, isServing, setServerEventHandler, setServing
public TThreadPoolServer(TThreadPoolServer.Args args)
public void serve()
TServer