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

java.lang.Object
  extended byorg.objectweb.proactive.core.body.proxy.AbstractProxy
All Implemented Interfaces:
NFEProducer, Proxy, java.io.Serializable
Direct Known Subclasses:
AbstractBodyProxy, ProxyForGroup

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

See Also:
Serialized Form

Field Summary
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
AbstractProxy()
           
 
Method Summary
 void addNFEListener(NFEListener listener)
           
 int fireNFE(NonFunctionalException e)
           
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.
 void removeNFEListener(NFEListener listener)
           
 
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
 

Field Detail

logger

protected static org.apache.log4j.Logger logger
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

addNFEListener

public void addNFEListener(NFEListener listener)
Specified by:
addNFEListener in interface NFEProducer

removeNFEListener

public void removeNFEListener(NFEListener listener)
Specified by:
removeNFEListener in interface NFEProducer

fireNFE

public int fireNFE(NonFunctionalException e)
Specified by:
fireNFE in interface NFEProducer


Copyright 2001-2005 INRIA All Rights Reserved.