Rice Pastry API

rice.pastry.commonapi
Class PastryEndpointMessage

java.lang.Object
  |
  +--rice.pastry.messaging.Message
        |
        +--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,v 1.2 2003/07/23 05:13:09 amislove Exp $
Author:
Alan Mislove, Peter Druschel
See Also:
Serialized Form

Field Summary
protected  rice.p2p.commonapi.Message message
           
 
Constructor Summary
PastryEndpointMessage(rice.pastry.messaging.Address address, rice.p2p.commonapi.Message message)
          Constructor.
 
Method Summary
 rice.p2p.commonapi.Message getMessage()
          Returns the internal message
 void setMessage(rice.p2p.commonapi.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, getSenderId, getStream, hasPriority, setPriority, setSenderId, stamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

message

protected rice.p2p.commonapi.Message message
Constructor Detail

PastryEndpointMessage

public PastryEndpointMessage(rice.pastry.messaging.Address address,
                             rice.p2p.commonapi.Message message)
Constructor.

Method Detail

getMessage

public rice.p2p.commonapi.Message getMessage()
Returns the internal message

Returns:
the credentials.

setMessage

public void setMessage(rice.p2p.commonapi.Message message)
Returns the internal message

Returns:
the credentials.

toString

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

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

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection