org.objectweb.proactive.core.body.proxy
Class AbstractBodyProxy
java.lang.Object
|
+--org.objectweb.proactive.core.body.proxy.AbstractProxy
|
+--org.objectweb.proactive.core.body.proxy.AbstractBodyProxy
- All Implemented Interfaces:
- BodyProxy, Proxy, java.io.Serializable
- Direct Known Subclasses:
- UniversalBodyProxy
- public abstract class AbstractBodyProxy
- extends AbstractProxy
- implements BodyProxy, java.io.Serializable
- See Also:
- Serialized Form
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.body.proxy.BodyProxy |
getBody |
bodyID
protected UniqueID bodyID
AbstractBodyProxy
public AbstractBodyProxy()
getBodyID
public UniqueID getBodyID()
- Specified by:
getBodyID
in interface BodyProxy
reify
public java.lang.Object reify(MethodCall methodCall)
throws java.lang.Throwable
- Performs operations on the Call object created by the stub, thus changing
the semantics of message-passing to asynchronous message-passing with
future objects
The semantics of message-passing implemented by this proxy class
may be definied as follows :
- Asynchronous message-passing
- Creation of future objects where possible (which leads to
wait-by-necessity).
- Synchronous, blocking calls where futures are not available.
- The Call
methodCall
is passed to the skeleton for execution.
- Specified by:
reify
in interface Proxy
- Parameters:
methodCall
- The MethodCall object corresponding to the method
- Returns:
- The object returned by the method [wrapper class if it is a primitive or null if no return]
java.lang.Throwable
reifyAsOneWay
protected void reifyAsOneWay(MethodCall methodCall)
throws MethodCallExecutionFailedException,
RenegotiateSessionException
MethodCallExecutionFailedException
RenegotiateSessionException
reifyAsAsynchronous
protected java.lang.Object reifyAsAsynchronous(MethodCall methodCall)
throws MethodCallExecutionFailedException,
RenegotiateSessionException
MethodCallExecutionFailedException
RenegotiateSessionException
reifyAsSynchronous
protected java.lang.Object reifyAsSynchronous(MethodCall methodCall)
throws java.lang.Throwable,
MethodCallExecutionFailedException,
RenegotiateSessionException
java.lang.Throwable
MethodCallExecutionFailedException
RenegotiateSessionException
sendRequest
protected abstract void sendRequest(MethodCall methodCall,
Future future)
throws java.io.IOException,
RenegotiateSessionException
java.io.IOException
RenegotiateSessionException
sendRequest
protected abstract void sendRequest(MethodCall methodCall,
Future future,
Body sourceBody)
throws java.io.IOException,
RenegotiateSessionException
java.io.IOException
RenegotiateSessionException
Copyright © April 2004 INRIA All Rights Reserved.