org.objectweb.proactive.core.body.proxy
Class UniversalBodyProxy
java.lang.Object
org.objectweb.proactive.core.body.proxy.AbstractProxy
org.objectweb.proactive.core.body.proxy.AbstractBodyProxy
org.objectweb.proactive.core.body.proxy.UniversalBodyProxy
- All Implemented Interfaces:
- BodyProxy, Handlerizable, Proxy, java.io.Serializable
- public class UniversalBodyProxy
- extends AbstractBodyProxy
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
UniversalBodyProxy()
Empty, no args constructor |
UniversalBodyProxy(ConstructorCall constructorCall,
java.lang.Object[] parameters)
Instantiates an object of class BodyProxy, creates a body object
(referenced either via the instance variable localBody
or remoteBody ) and passes the ConstructorCall
object c to the body, which will then handle
the creation of the reified object (That's it !).
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.apache.log4j.Logger logger
universalBody
protected transient UniversalBody universalBody
isLocal
protected transient boolean isLocal
UniversalBodyProxy
public UniversalBodyProxy()
- Empty, no args constructor
UniversalBodyProxy
public UniversalBodyProxy(ConstructorCall constructorCall,
java.lang.Object[] parameters)
throws ProActiveException
- Instantiates an object of class BodyProxy, creates a body object
(referenced either via the instance variable
localBody
or remoteBody
) and passes the ConstructorCall
object c
to the body, which will then handle
the creation of the reified object (That's it !).
parameter contains either :
<Node, Active, MetaObjectFactory>
or
<UniversalBody>
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
getBody
public UniversalBody getBody()
- Specified by:
getBody
in interface BodyProxy
createLocalBody
protected UniversalBody createLocalBody(ConstructorCall bodyConstructorCall,
ConstructorCall reifiedObjectConstructorCall,
Node node)
throws ProActiveException
- Throws:
ProActiveException
createRemoteBody
protected UniversalBody createRemoteBody(ConstructorCall bodyConstructorCall,
Node node)
throws ProActiveException
- Throws:
ProActiveException
sendRequest
protected void sendRequest(MethodCall methodCall,
Future future)
throws java.io.IOException,
RenegotiateSessionException
- Specified by:
sendRequest
in class AbstractBodyProxy
- Throws:
java.io.IOException
RenegotiateSessionException
sendRequest
protected void sendRequest(MethodCall methodCall,
Future future,
Body sourceBody)
throws java.io.IOException,
RenegotiateSessionException
- Specified by:
sendRequest
in class AbstractBodyProxy
- Throws:
java.io.IOException
RenegotiateSessionException
sendRequestInternal
protected void sendRequestInternal(MethodCall methodCall,
Future future,
Body sourceBody)
throws java.io.IOException,
RenegotiateSessionException
- Throws:
java.io.IOException
RenegotiateSessionException
isLocal
public boolean isLocal()
Copyright ? October 2004 INRIA All Rights Reserved.