uka.karmi.rmi
Interface CallHandler.CallbackOperation
- All Known Implementing Classes:
- ServerConnection
- Enclosing interface:
- CallHandler
- public static interface CallHandler.CallbackOperation
getThreadID
public long getThreadID()
doCallback
public void doCallback(boolean isCallback)
- Represents the callback. The callback gets information
whether it is executed as callback to a
CallHandler.BlockingOperation or wheter it is dispatched directly.
- Parameters:
isCallback - is true if this is executed
as callback to a CallHandler.BlockingOperation.
getCallbackProblem
public java.lang.Throwable getCallbackProblem()
- Returns an exception thrown during the execution of
doCallback(boolean), or null is no excetion
was thrown. Since doCallback(boolean) does not
declare any exceptions to be thrown, it is expected to
always return silently and store any exception for later
processing.