org.exolab.core.messenger
Interface ManagedConnectionEventListener

All Known Implementing Classes:
TcpConnector

public interface ManagedConnectionEventListener

A ManagedConnectionEventListener is an object that registers to receive events generated by a ManagedConnection

Version:
$Revision: 1.1 $ $Date: 2002/02/20 10:23:48 $
Author:
Tim Anderson
See Also:
Connection

Method Summary
 void closed(ManagedConnection connection)
          Invoked when a managed connection is closed
 void error(ManagedConnection connection, java.lang.Exception exception)
          Invoked when a fatal connection error occurs, just before an Exception is thrown to the application
 

Method Detail

closed

void closed(ManagedConnection connection)
Invoked when a managed connection is closed

Parameters:
connection - the closed connection

error

void error(ManagedConnection connection,
           java.lang.Exception exception)
Invoked when a fatal connection error occurs, just before an Exception is thrown to the application

Parameters:
connection - the connection the error occurred on
exception - the error


Copyright © 1999-2012 The Exolab Group. All Rights Reserved.