org.exolab.core.messenger
Interface ConnectionEventListener

All Known Implementing Classes:
ManagedPacketConnection

public interface ConnectionEventListener

A ConnectionEventListener is an object that registers to receive events generated by an Connection

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

Method Summary
 void closed(Connection connection)
          Invoked when a connection is closed
 void error(Connection 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(Connection connection)
Invoked when a connection is closed

Parameters:
connection - the closed connection

error

void error(Connection 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.