Package com.sun.jini.example.cancellation

Interface Summary
CallCancellation CallCancellation is an abstraction to support cancelling a call executing in a thread.
Ping Simple Ping remote interface.
ReceiveReady Simple interface for notifying a callback object.
 

Class Summary
CancelILFactory A factory for creating proxies and invocation dispatchers that support call cancellation.
Client Defines a client application that spawns a thread to invoke the Ping.ping remote method on a server and then cancels the remote call in progress in that thread.
Server Defines an application server that provides an implementation of the Ping interface.
 

Exception Summary
CallCancelledException The exception 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).
NoSuchCallException The checked exception NoSuchCallException is thrown by the CallCancellation.cancelCall method if no remote call is currently executing in the given thread.
 



Copyright © 2003 Sun Microsystems, Inc. All Rights Reserved.