com::softwareag::umtransport::CloseHandler Class Referenceabstract

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

#include <CloseHandler.h>

Public Member Functions

virtual void onClose (AsynchronousTransport *transport)=0
 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

virtual void com::softwareag::umtransport::CloseHandler::onClose ( AsynchronousTransport transport)
pure virtual

This method will be called when an AsynchronousTransport is closed.

Parameters
transportThe Transport that has been closed