org.objectweb.proactive.core.body.http.util.messages
Class HttpReply

java.lang.Object
  extended byorg.objectweb.proactive.core.body.http.util.HttpMessage
      extended byorg.objectweb.proactive.core.body.http.util.messages.HttpReply
All Implemented Interfaces:
java.io.Serializable

public class HttpReply
extends HttpMessage
implements java.io.Serializable

This kind of HTTP message isusefull to receive and send replies.

Author:
vlegrand
See Also:
HttpMessage, Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.proactive.core.body.http.util.HttpMessage
returnedObject
 
Constructor Summary
HttpReply(Reply reply, UniqueID idBody, java.lang.String url)
          Constructs an HTTP Message containing a ProActive Reply
 
Method Summary
 int getReturnedObject()
           
 java.lang.Object processMessage()
          Processes the message.
 
Methods inherited from class org.objectweb.proactive.core.body.http.util.HttpMessage
send
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpReply

public HttpReply(Reply reply,
                 UniqueID idBody,
                 java.lang.String url)
Constructs an HTTP Message containing a ProActive Reply

Parameters:
reply - The ProActive Reply to encapsulate
idBody - The unique id of the targeted active object
Method Detail

getReturnedObject

public int getReturnedObject()

processMessage

public java.lang.Object processMessage()
Description copied from class: HttpMessage
Processes the message.

Specified by:
processMessage in class HttpMessage
Returns:
an object as a result of the execution of the message


Copyright 2001-2005 INRIA All Rights Reserved.