|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
CallCancellation is an abstraction to support cancelling
a call executing in a thread.CallCancelledException is thrown as a result
of a remote method execution when an attempt is made to cancel the call
during its execution (typically by another thread calling the
CallCancellation.cancelCall method on the proxy through
which the remote call was initiated).CallCancelledException instance.
Ping.ping remote method on a server and then cancels the
remote call in progress in that thread.t.
true if the call associated with the current
thread should be cancelled and false otherwise.
, CallCancellation and
CancelMessage.
- getInvocationDispatcherMethods(Remote) -
Method in class com.sun.jini.example.cancellation.CancelILFactory
- Returns a new collection of
Method objects, containing all
remote methods for which the the invocation dispatcher should accept
incoming remote calls.
Ping.ping method and cancels the remote call executing
in that thread.
Ping
remote interface.
NoSuchCallException is thrown
by the CallCancellation.cancelCall method if no
remote call is currently executing in the given thread.NoSuchCallException instance.
Ping remote interface.obj by invoking its
ready method, then polls for a call cancellation
request.
receiver callback object by invoking
its ready method and polls for call cancellation
status.
Ping interface.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||