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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
result
protected java.lang.Object result
- The hypothetic result
encryptedResult
protected byte[][] encryptedResult
- the encrypted result
sessionID
protected long sessionID
psm
protected transient ProActiveSecurityManager psm
ReplyImpl
public ReplyImpl(UniqueID senderID,
long sequenceNumber,
java.lang.String methodName,
java.lang.Object result,
ProActiveSecurityManager psm)
getResult
public java.lang.Object getResult()
- Specified by:
getResult
in interface Reply
send
public void 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
- 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
RenegotiateSessionException
getSessionId
public long getSessionId()
- Specified by:
getSessionId
in interface Reply
Copyright © April 2004 INRIA All Rights Reserved.