org.objectweb.proactive.core.body.reply
Class ReplyImpl
java.lang.Object
org.objectweb.proactive.core.body.message.MessageImpl
org.objectweb.proactive.core.body.reply.ReplyImpl
- All Implemented Interfaces:
- Message, Reply, java.io.Serializable
- public class ReplyImpl
- extends MessageImpl
- implements Reply, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class org.objectweb.proactive.core.body.message.MessageImpl |
getFTManager, getMessageInfo, getMethodName, getSequenceNumber, getSourceBodyID, getTimeStamp, ignoreIt, isOneWay, setFTManager, setIgnoreIt, setMessageInfo, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.objectweb.proactive.core.body.message.Message |
getFTManager, getMessageInfo, getMethodName, getSequenceNumber, getSourceBodyID, getTimeStamp, ignoreIt, isOneWay, setFTManager, setIgnoreIt, setMessageInfo |
result
protected FutureResult result
- The hypothetic result
encryptedResult
protected byte[][] encryptedResult
- the encrypted result
ciphered
protected boolean ciphered
sessionID
protected long sessionID
psm
protected transient ProActiveSecurityManager psm
ReplyImpl
public ReplyImpl(UniqueID senderID,
long sequenceNumber,
java.lang.String methodName,
FutureResult result,
ProActiveSecurityManager psm)
ReplyImpl
public ReplyImpl(UniqueID senderID,
long sequenceNumber,
java.lang.String methodName,
FutureResult result,
ProActiveSecurityManager psm,
boolean isAutomaticContinuation)
getResult
public FutureResult getResult()
- Specified by:
getResult
in interface Reply
send
public int send(UniversalBody destinationBody)
throws java.io.IOException
- Description copied from interface:
Reply
- Sends this reply to the body destination
- Specified by:
send
in interface Reply
- Parameters:
destinationBody
- the body destination of this reply
- Returns:
- value used by fault-tolerance mechanism.
- Throws:
java.io.IOException
- if the reply fails to be sent
isCiphered
public boolean isCiphered()
- Specified by:
isCiphered
in interface Reply
decrypt
public boolean decrypt(ProActiveSecurityManager psm)
throws RenegotiateSessionException
- Specified by:
decrypt
in interface Reply
- Throws:
RenegotiateSessionException
getSessionId
public long getSessionId()
- Specified by:
getSessionId
in interface Reply
isAutomaticContinuation
public boolean isAutomaticContinuation()
- Specified by:
isAutomaticContinuation
in interface Reply
- See Also:
Reply.isAutomaticContinuation()
Copyright 2001-2005 INRIA All Rights Reserved.