ePOST API

rice.pastry.commonapi
Class PastryEndpointMessage

java.lang.Object
  extended by rice.pastry.messaging.Message
      extended by rice.pastry.commonapi.PastryEndpointMessage
All Implemented Interfaces:
java.io.Serializable

public class PastryEndpointMessage
extends Message

This class is an internal message to the commonapi gluecode.

Version:
$Id: PastryEndpointMessage.java 2848 2005-12-15 14:54:02Z jstewart $
Author:
Alan Mislove, Peter Druschel
See Also:
Serialized Form

Field Summary
protected  Message message
           
 
Fields inherited from class rice.pastry.messaging.Message
DEFAULT_PRIORITY_LEVEL
 
Constructor Summary
PastryEndpointMessage(Address address, Message message, NodeHandle sender)
          Constructor.
 
Method Summary
 Message getMessage()
          Returns the internal message
 void setMessage(Message message)
          Returns the internal message
 java.lang.String toString()
          Returns the String representation of this message
 
Methods inherited from class rice.pastry.messaging.Message
getCredentials, getDate, getDestination, getPriority, getSender, getSenderId, setPriority, setSender, stamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

message

protected Message message
Constructor Detail

PastryEndpointMessage

public PastryEndpointMessage(Address address,
                             Message message,
                             NodeHandle sender)
Constructor.

Parameters:
pn - the pastry node that the application attaches to.
Method Detail

getMessage

public Message getMessage()
Returns the internal message

Returns:
the credentials.

setMessage

public void setMessage(Message message)
Returns the internal message


toString

public java.lang.String toString()
Returns the String representation of this message

Overrides:
toString in class java.lang.Object
Returns:
The string

ePOST API

Copyright © 2001-2005 - Rice Pastry.