mandala.rami.impl
Class SynchronousSemantic

java.lang.Object
  extended bymandala.rami.impl.SynchronousSemantic
All Implemented Interfaces:
AsynchronousPolicy, java.io.Serializable

public class SynchronousSemantic
extends java.lang.Object
implements AsynchronousPolicy, java.io.Serializable

Synchronous implementation of the AsynchronousPolicy interface.

Warning, this class defines a synchronous semantic for asynchronous method invocation which violates the contract defined by the AsynchronousPolicy interface where the invocation of the method call() must be asychronously. Use with caution!

Version:
1.0
Author:
eipi
See Also:
MethodInvoker, Serialized Form

Constructor Summary
SynchronousSemantic()
           
 
Method Summary
 Cancelable call(java.lang.Object object, FutureServer futureServer)
          Direct implementation of a method invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronousSemantic

public SynchronousSemantic()
Method Detail

call

public Cancelable call(java.lang.Object object,
                       FutureServer futureServer)

Direct implementation of a method invocation.

This implementation uses the MethodInvoker class.

Specified by:
call in interface AsynchronousPolicy
Parameters:
object - the object on which the method is to be invoked.
futureServer - a FutureServer value
Returns:
the cancelable object to use to cancel the invocation.
See Also:
FutureServer


Mandala help mailing list