org.jboss.remoting
Interface ConnectionListener


public interface ConnectionListener

Listener that can be registered with the Client to receive a callback if the target server for said Client is determined to be unreachable at any point.

Author:
Tom Elrod

Method Summary
 void handlerConnectionException(java.lang.Throwable throwable, Client client)
          Called when a target server if found to be dead.
 

Method Detail

handlerConnectionException

public void handlerConnectionException(java.lang.Throwable throwable,
                                       Client client)
Called when a target server if found to be dead.

Parameters:
throwable - original exception thrown when trying to connect to target server.
client - the client from which this call was made.


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.