|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmandala.jacob.remote.AbstractRemote
mandala.jacob.remote.gpf.AbstractRemoteProxy
mandala.jacob.remote.gpf.RemoteCancelableProxy
Generic proxy for remote Cancelable implementation.
RemoteCancelable,
AbstractRemoteProxy,
ExceptionHandler,
Serialized Form| Nested Class Summary |
| Nested classes inherited from class mandala.jacob.remote.AbstractRemote |
AbstractRemote.ExceptionInfo |
| Nested classes inherited from class mandala.jacob.remote.RemoteCancelable |
RemoteCancelable.RemoteCancelableMethods |
| Field Summary |
| Fields inherited from class mandala.jacob.remote.gpf.AbstractRemoteProxy |
client, exporter |
| Fields inherited from class mandala.jacob.remote.AbstractRemote |
defaultExceptionHandler, exceptionHandler, syslog |
| Constructor Summary | |
RemoteCancelableProxy(Client client,
Exporter exporter,
ExceptionHandler exceptionHandler)
|
|
| Method Summary | |
boolean |
cancel()
Cancel the operation related to this cancelable object. |
boolean |
interrupt()
Interrupt the operation related to this cancelable object. |
String |
toString()
|
| Methods inherited from class mandala.jacob.remote.AbstractRemote |
getDefaultExceptionHandler, getExceptionHandler, getSyslog, handleException, setDefaultExceptionHandler, setExceptionHandler, setSyslog |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface mandala.jacob.remote.Remote |
getExceptionHandler, setExceptionHandler |
| Constructor Detail |
public RemoteCancelableProxy(Client client,
Exporter exporter,
ExceptionHandler exceptionHandler)
| Method Detail |
public boolean cancel()
CancelableCancel the operation related to this cancelable object.
This method does nothing if the related operation is already started or terminated.
This method returns true if the related operation has
been succesfully cancelled, false otherwise.
cancel in interface Cancelabletrue if the related operation has been succesfully
cancelled, false otherwisepublic boolean interrupt()
CancelableInterrupt the operation related to this cancelable object.
Interruption of an operation means that the thread which is running
the related operation is interrupted. It is the responsibilty of the
operation to check the interrupt status of the current thread (see
Thread.interrupted() in order to be able to return as
soon as possible on interruption.
This method does nothing if the related operation is not started yet or if it is already terminated.
This method returns true if the related operation has
been succesfully interrupted, false otherwise.
interrupt in interface Cancelabletrue if the related operation has been succesfully
interrupted, false otherwise.public String toString()
toString in class AbstractRemoteProxy
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||