com::softwareag::umtransport::AsynchronousServerTransport Class Reference

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>

Inheritance diagram for com::softwareag::umtransport::AsynchronousServerTransport:
com::softwareag::umtransport::ServerTransport

Public Member Functions

virtual void close ()
 Call this to close the ServerTransport. This will stop further connections from being accepted. More...
 

Detailed Description

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).

Member Function Documentation

virtual void com::softwareag::umtransport::AsynchronousServerTransport::close ( )
virtual

Call this to close the ServerTransport. This will stop further connections from being accepted.

Implements com::softwareag::umtransport::ServerTransport.