ohmm
Interface ErrorHandler

All Known Implementing Classes:
DefaultErrorHandler

public interface ErrorHandler

OHMM error handler.

Author:
Marsette A. Vona

Method Summary
 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.
 

Method Detail

initializationError

void initializationError(java.io.IOException e)

Called if there was a problem initializing communication.

Parameters:
e - the exception, or null if none

closingError

void closingError(java.io.IOException e)

Called if there was a problem closing communication.

Parameters:
e - the exception, or null if none

writeException

void writeException(java.io.IOException e)

Called when there's an IOException on send.

Parameters:
e - the exception

readException

void readException(java.io.IOException e)

Called when there's an IOException on recv.

Parameters:
e - the exception

interrupted

void interrupted(java.lang.InterruptedException e)

Called if we're interrupted while waiting.

Parameters:
e - the exception

timeout

void timeout()

Called when we timeout on a recv.