ePOST API

rice.pastry.socket.messaging
Class DatagramMessage

java.lang.Object
  extended by rice.pastry.messaging.Message
      extended by rice.pastry.socket.messaging.SocketMessage
          extended by rice.pastry.socket.messaging.DatagramMessage
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IPAddressRequestMessage, IPAddressResponseMessage, PingMessage, PingResponseMessage, WrongEpochMessage

public abstract class DatagramMessage
extends SocketMessage

Class which represents a "ping" message sent through the socket pastry system.

Version:
$Id: DatagramMessage.java 2562 2005-06-09 16:26:21Z jstewart $
Author:
Alan Mislove
See Also:
Serialized Form

Field Summary
protected  SourceRoute inbound
           
protected  SourceRoute outbound
           
protected  long start
           
 
Fields inherited from class rice.pastry.messaging.Message
DEFAULT_PRIORITY_LEVEL
 
Constructor Summary
DatagramMessage(SourceRoute outbound, SourceRoute inbound, long start)
          Constructor
 
Method Summary
 SourceRoute getInboundPath()
           
 SourceRoute getOutboundPath()
           
 long getStartTime()
           
 
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, toString, wait, wait, wait
 

Field Detail

start

protected long start

outbound

protected SourceRoute outbound

inbound

protected SourceRoute inbound
Constructor Detail

DatagramMessage

public DatagramMessage(SourceRoute outbound,
                       SourceRoute inbound,
                       long start)
Constructor

Method Detail

getStartTime

public long getStartTime()

getOutboundPath

public SourceRoute getOutboundPath()

getInboundPath

public SourceRoute getInboundPath()

ePOST API

Copyright © 2001-2005 - Rice Pastry.