|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
CallCancellation is an abstraction to support cancelling
a call executing in a thread. A proxy that supports cancelling
remote method invocations will implement this interface.
| Method Summary | |
void |
cancelCall(java.lang.Thread t)
Attempts to cancel the call executing in the given thread t. |
| Method Detail |
public void cancelCall(java.lang.Thread t)
throws NoSuchCallException,
java.rmi.RemoteException
t. A cancel request is advisory; a server may ignore
the request for cancellation.
An executing remote method that is cancelled via a call to this
method will throw CallCancelledException as a result of
its execution independent of the execution status of the method
(that is, whether the call reached the server, or executed partially
or completely on the server).
t - the thread executing the call to cancel
NoSuchCallException - if a call is not excecuting
in the given thread t
java.rmi.RemoteException - if an problem occurs sending the
cancellation request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||