TServerEventHandler

Handles events from a TServer core.

Members

Functions

createContext
Variant createContext(TProtocol input, TProtocol output)

Called when a new client has connected and processing is about to begin.

deleteContext
void deleteContext(Variant serverContext, TProtocol input, TProtocol output)

Called when request handling for a client has been finished – can be used to perform clean up work.

preProcess
void preProcess(Variant serverContext, TTransport transport)

Called when the processor for a client call is about to be invoked.

preServe
void preServe()

Called before the server starts accepting connections.

Meta