com.softwareag.um.io.CloseHandler Interface Reference

The CloseHandler interface is passed to the TransportFactory.bind method when you want to create and AsynchronousServerTransport or to the TransportFactory.connect method when you want to create client side AsynchronousTransports. More...

Public Member Functions

void onClose (AsynchronousTransport transport)
 This method will be called when an AsynchronousTransport is closed. More...
 

Detailed Description

The CloseHandler interface is passed to the TransportFactory.bind method when you want to create and AsynchronousServerTransport or to the TransportFactory.connect method when you want to create client side AsynchronousTransports.

The object which implements this interface will be notified when Transports are closed.

Member Function Documentation

void com.softwareag.um.io.CloseHandler.onClose ( AsynchronousTransport  transport)

This method will be called when an AsynchronousTransport is closed.

Parameters
transportThe Transport that has been closed