mandala.rami.impl
Class InterrupterCallback
java.lang.Object
mandala.rami.impl.InterrupterCallback
- All Implemented Interfaces:
- Callback, Serializable
- public class InterrupterCallback
- extends Object
- implements Callback, Serializable
This implementation of the Callback
interface
provides the earlier warning mechanism.
When its done()
method is invoked, it interrupts the caller
of the asynchronous method invocation.
- Version:
- 1.0
- Author:
- eipi
- See Also:
Callback
,
Serialized Form
Method Summary |
void |
done(InvocationInfo invocationInfo,
MethodResult methodResult)
This method is called once an asynchronous method invocation had been
considered terminated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterrupterCallback
public InterrupterCallback()
done
public void done(InvocationInfo invocationInfo,
MethodResult methodResult)
- Description copied from interface:
Callback
This method is called once an asynchronous method invocation had been
considered terminated.
- Specified by:
done
in interface Callback
- Parameters:
invocationInfo
- the invocationInfo
object
representing informations on the asychronous method invocation.methodResult
- the MethodResult
object
representing the result of the asychronous method invocation.- See Also:
InvocationInfo
,
MethodResult
Mandala help mailing list