public class TThreadPoolServer extends TServer
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TThreadPoolServer.Args |
TServer.AbstractServerArgs<T extends TServer.AbstractServerArgs<T>>eventHandler_, inputProtocolFactory_, inputTransportFactory_, outputProtocolFactory_, outputTransportFactory_, processorFactory_, serverTransport_| Constructor | Description |
|---|---|
TThreadPoolServer(TThreadPoolServer.Args args) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
serve() |
The run method fires up the server and gets things going.
|
void |
stop() |
Stop the server.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEventHandler, isServing, setServerEventHandler, setServingpublic TThreadPoolServer(TThreadPoolServer.Args args)
public void serve()
TServer