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

Field Summary
protected  UniqueID bodyID
           
 
Constructor Summary
AbstractBodyProxy()
           
 
Method Summary
 UniqueID getBodyID()
           
 java.lang.Object reify(MethodCall methodCall)
          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).
protected  java.lang.Object reifyAsAsynchronous(MethodCall methodCall)
           
protected  void reifyAsOneWay(MethodCall methodCall)
           
protected  java.lang.Object reifyAsSynchronous(MethodCall methodCall)
           
protected abstract  void sendRequest(MethodCall methodCall, Future future)
           
protected abstract  void sendRequest(MethodCall methodCall, Future future, Body sourceBody)
           
 
Methods inherited from class org.objectweb.proactive.core.body.proxy.AbstractProxy
isAsynchronousCall, isOneWayCall
 
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
 

Field Detail

bodyID

protected UniqueID bodyID
Constructor Detail

AbstractBodyProxy

public AbstractBodyProxy()
Method Detail

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 :

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.