solar.service.transport
Class PastryMessage

java.lang.Object
  |
  +--rice.pastry.messaging.Message
        |
        +--solar.service.transport.PastryMessage
All Implemented Interfaces:
java.io.Serializable

class PastryMessage
extends rice.pastry.messaging.Message

Message object to route through Pastry substrate.

Version:
$Id: PastryMessage.java,v 1.4 2003/09/24 03:56:17 glchen Exp $
Author:
Guanling Chen

Field Summary
protected  Adu _adu
           
protected  byte[] _bytes
           
protected  Header _header
           
 
Fields inherited from class rice.pastry.messaging.Message
 
Constructor Summary
PastryMessage(Adu adu, rice.pastry.messaging.Address dest)
           
PastryMessage(byte[] data, rice.pastry.messaging.Address dest)
           
 
Method Summary
 Adu getAdu()
           
 byte[] getBytes()
           
 Header getHeader()
           
 void setHeader(Header header)
           
 
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, toString, wait, wait, wait
 

Field Detail

_bytes

protected byte[] _bytes

_adu

protected Adu _adu

_header

protected Header _header
Constructor Detail

PastryMessage

public PastryMessage(byte[] data,
                     rice.pastry.messaging.Address dest)

PastryMessage

public PastryMessage(Adu adu,
                     rice.pastry.messaging.Address dest)
Method Detail

setHeader

public void setHeader(Header header)

getHeader

public Header getHeader()

getBytes

public byte[] getBytes()

getAdu

public Adu getAdu()