org.exolab.core.messenger
Interface AcceptorEventListener

All Known Implementing Classes:
TcpConnector

public interface AcceptorEventListener

An AcceptorEventListener is an object that registers to receive events generated by a ManagedConnectionAcceptor

Version:
$Revision: 1.4 $ $Date: 2002/02/21 09:49:41 $
Author:
Tim Anderson
See Also:
ConnectionAcceptor

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

Method Detail

closed

public void closed(ManagedConnectionAcceptor acceptor)
Invoked when a connection acceptor is closed

Parameters:
acceptor - the closed connection acceptor

error

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

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


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