org.objectweb.proactive.core.body.proxy
Class AbstractProxy

java.lang.Object
  |
  +--org.objectweb.proactive.core.body.proxy.AbstractProxy
All Implemented Interfaces:
Proxy, java.io.Serializable
Direct Known Subclasses:
AbstractBodyProxy, ProxyForGroup

public abstract class AbstractProxy
extends java.lang.Object
implements Proxy, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
AbstractProxy()
           
 
Method Summary
protected static boolean isAsynchronousCall(MethodCall mc)
          Checks if the given Call object c can be processed with a future semantics, i-e if its returned object can be a future object.
protected static boolean isOneWayCall(MethodCall mc)
          Returns a boolean saying whether the methode is one-way or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.proactive.core.mop.Proxy
reify
 

Constructor Detail

AbstractProxy

public AbstractProxy()
Method Detail

isAsynchronousCall

protected static boolean isAsynchronousCall(MethodCall mc)
Checks if the given Call object c can be processed with a future semantics, i-e if its returned object can be a future object. Two conditions must be met :

Returns:
true if and only if the method call can be asynchronous

isOneWayCall

protected static boolean isOneWayCall(MethodCall mc)
Returns a boolean saying whether the methode is one-way or not. Being one-way method is equivalent to

Returns:
true if and only if the method call is one way


Copyright © April 2004 INRIA All Rights Reserved.