By establishing an AsynchronousServerTransport, new client connections will automatically be accepted and notifications of new connections will be passed to the user implementation of AcceptHandler. To create an AsynchronousServerTransport you must first create a ServerTransportContext and then pass this to the TransportFactory.bind method with the required callback objects (AcceptHandler, DataHandler, CloseHandler). More...
#include <AsynchronousServerTransport.h>
Public Member Functions | |
virtual void | close () |
Call this to close the ServerTransport. This will stop further connections from being accepted. More... | |
By establishing an AsynchronousServerTransport, new client connections will automatically be accepted and notifications of new connections will be passed to the user implementation of AcceptHandler. To create an AsynchronousServerTransport you must first create a ServerTransportContext and then pass this to the TransportFactory.bind method with the required callback objects (AcceptHandler, DataHandler, CloseHandler).
|
virtual |
Call this to close the ServerTransport. This will stop further connections from being accepted.
Implements com::softwareag::umtransport::ServerTransport.