uka.karmi.rmi
Interface CallHandler.BlockingOperation

All Known Implementing Classes:
ClientConnection, ServerConnection
Enclosing interface:
CallHandler

public static interface CallHandler.BlockingOperation


Method Summary
 boolean dispatchInterrupt()
          If a thread that waits for this blocking operation to complete is interrupted, this method is called to anounce the interrupt.
 void doBlocking()
           
 java.lang.Throwable getBlockingProblem()
           
 

Method Detail

doBlocking

public void doBlocking()

dispatchInterrupt

public boolean dispatchInterrupt()
                          throws RemoteException
If a thread that waits for this blocking operation to complete is interrupted, this method is called to anounce the interrupt. It returns whether the interrupt was delivered successfully. If the method returns false, the interrupt will be signaled to the waiting thread when it resumes operation.

Throws:
RemoteException

getBlockingProblem

public java.lang.Throwable getBlockingProblem()