Interface ConnectionListenerFailureHandler
- All Known Implementing Classes:
DefaultConnectionListenerFailureHandler
public interface ConnectionListenerFailureHandler
-
Method Summary
Modifier and TypeMethodDescriptionbooleanfailed(IOProcessor connectionListener, Throwable cause) The associated connection listener IOProcessor has failedvoidnotifyAbnormalTermination(IOProcessor connectionListener, String message, Throwable cause) The associated connection listener IOProcessor is terminating abnormally
-
Method Details
-
failed
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
The associated connection listener IOProcessor is terminating abnormally- Parameters:
connectionListener- the associated connection listenermessage- explanation of terminationcause- last exception that is causing termination
-