com.softwareag.um.io.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. More...

Inheritance diagram for com.softwareag.um.io.AsynchronousServerTransport:
com.softwareag.um.io.ServerTransport

Public Member Functions

void close ()
 Call this to close the ServerTransport. 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

void com.softwareag.um.io.AsynchronousServerTransport.close ( )

Call this to close the ServerTransport.

This will stop further connections from being accepted.

Implements com.softwareag.um.io.ServerTransport.