public interface ErrorHandler
OHMM error handler.
| Modifier and Type | Method and Description |
|---|---|
void |
closingError(java.io.IOException e)
Called if there was a problem closing communication.
|
void |
initializationError(java.io.IOException e)
Called if there was a problem initializing communication.
|
void |
interrupted(java.lang.InterruptedException e)
Called if we're interrupted while waiting.
|
void |
readException(java.io.IOException e)
Called when there's an IOException on recv.
|
void |
timeout()
Called when we timeout on a recv.
|
void |
writeException(java.io.IOException e)
Called when there's an IOException on send.
|
void initializationError(java.io.IOException e)
Called if there was a problem initializing communication.
e - the exception, or null if nonevoid closingError(java.io.IOException e)
Called if there was a problem closing communication.
e - the exception, or null if nonevoid writeException(java.io.IOException e)
Called when there's an IOException on send.
e - the exceptionvoid readException(java.io.IOException e)
Called when there's an IOException on recv.
e - the exceptionvoid interrupted(java.lang.InterruptedException e)
Called if we're interrupted while waiting.
e - the exceptionvoid timeout()
Called when we timeout on a recv.