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

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

public class HttpLookupMessage
extends HttpMessage
implements java.io.Serializable

This classes represents a HTTPMessage. When processed, this message performs a lookup thanks to the urn.

Author:
vlegrand
See Also:
HttpMessage, Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.proactive.core.body.http.util.HttpMessage
returnedObject
 
Constructor Summary
HttpLookupMessage(java.lang.String urn, java.lang.String url, int port)
          Constructs an HTTP Message
 
Method Summary
 UniversalBody getReturnedObject()
          Get the returned object.
 java.lang.Object processMessage()
          Performs the lookup
 
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

HttpLookupMessage

public HttpLookupMessage(java.lang.String urn,
                         java.lang.String url,
                         int port)
Constructs an HTTP Message

Parameters:
urn - The urn of the Object (it can be an active object or a runtime).
Method Detail

getReturnedObject

public UniversalBody getReturnedObject()
Get the returned object.

Returns:
the returned object

processMessage

public java.lang.Object processMessage()
Performs the lookup

Specified by:
processMessage in class HttpMessage
Returns:
The Object associated with the urn


Copyright 2001-2005 INRIA All Rights Reserved.