org.objectweb.proactive.core.body.message
Interface Message

All Known Subinterfaces:
ComponentRequest, Reply, Request
All Known Implementing Classes:
BodyRequest, ComponentRequestImpl, MessageEvent, MessageImpl, ReplyImpl, RequestImpl

public interface Message

A class implementing this interface is an object encapsulating a reified method call either the sending of the call with the arguments or the reply of the call with the result.

A Message clearly identifies a sender and a receiver of the message. Each message is associated with a unique sequence number.

Since:
ProActive 0.9
Version:
1.0, 2001/10/23
Author:
ProActive Team

Method Summary
 java.lang.String getMethodName()
          Returns the method name of the method call packed in this message
 long getSequenceNumber()
          Returns a unique sequence number of this message
 UniqueID getSourceBodyID()
          Returns the id of the body source of this message
 long getTimeStamp()
          Returns the time this message was created or deserialized
 boolean isOneWay()
          Returns true if the message will not generate a response message
 

Method Detail

getSourceBodyID

public UniqueID getSourceBodyID()
Returns the id of the body source of this message

Returns:
the id of the body source of this message

getMethodName

public java.lang.String getMethodName()
Returns the method name of the method call packed in this message

Returns:
the method name of the method call packed in this message

getSequenceNumber

public long getSequenceNumber()
Returns a unique sequence number of this message

Returns:
a unique sequence number of this message

isOneWay

public boolean isOneWay()
Returns true if the message will not generate a response message

Returns:
true if the message will not generate a response message

getTimeStamp

public long getTimeStamp()
Returns the time this message was created or deserialized

Returns:
the time this message was created or deserialized


Copyright © April 2004 INRIA All Rights Reserved.