org.apache.axis2.transport.http.server
Interface ConnectionListenerFailureHandler
- All Known Implementing Classes:
- DefaultConnectionListenerFailureHandler
- public interface ConnectionListenerFailureHandler
Method Summary |
boolean |
failed(IOProcessor connectionListener,
java.lang.Throwable cause)
The associated connection listener IOProcessor has failed |
void |
notifyAbnormalTermination(IOProcessor connectionListener,
java.lang.String message,
java.lang.Throwable cause)
The associated connection listener IOProcessor is terminating abnormally |
failed
public boolean failed(IOProcessor connectionListener,
java.lang.Throwable cause)
- The associated connection listener IOProcessor has failed
- Parameters:
connectionListener
- the associated connection listenercause
- cause of failure
- Returns:
- true if the listener should attempt to re-establish itself, false if it should terminate.
notifyAbnormalTermination
public void notifyAbnormalTermination(IOProcessor connectionListener,
java.lang.String message,
java.lang.Throwable cause)
- The associated connection listener IOProcessor is terminating abnormally
- Parameters:
connectionListener
- the associated connection listenermessage
- explanation of terminationcause
- last exception that is causing termination
Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.