mandala.rami.impl
Class InterrupterCallback

java.lang.Object
  extended bymandala.rami.impl.InterrupterCallback
All Implemented Interfaces:
Callback, java.io.Serializable

public class InterrupterCallback
extends java.lang.Object
implements Callback, java.io.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

Constructor Summary
InterrupterCallback()
           
 
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
 

Constructor Detail

InterrupterCallback

public InterrupterCallback()
Method Detail

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