Rice Pastry API

rice.pastry.testing
Class HelloMsg

java.lang.Object
  extended byrice.pastry.messaging.Message
      extended byrice.pastry.testing.HelloMsg
All Implemented Interfaces:
Message, java.io.Serializable

public class HelloMsg
extends Message

Version:
$Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
Author:
Jeff Hoye
See Also:
Serialized Form

Field Summary
 boolean messageDirect
          DESCRIBE THE FIELD
 Id target
          DESCRIBE THE FIELD
 
Fields inherited from class rice.pastry.messaging.Message
DEFAULT_PRIORITY_LEVEL
 
Fields inherited from interface rice.p2p.commonapi.Message
HIGH_PRIORITY, LOW_PRIORITY, MAX_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY
 
Constructor Summary
HelloMsg(int addr, NodeHandle src, Id tgt, int mid)
          Constructor for HelloMsg.
 
Method Summary
 int getId()
          Gets the Id attribute of the HelloMsg object
 java.lang.String getInfo()
          Gets the Info attribute of the HelloMsg object
 java.lang.String toString()
          DESCRIBE THE METHOD
 
Methods inherited from class rice.pastry.messaging.Message
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

target

public Id target
DESCRIBE THE FIELD


messageDirect

public boolean messageDirect
DESCRIBE THE FIELD

Constructor Detail

HelloMsg

public HelloMsg(int addr,
                NodeHandle src,
                Id tgt,
                int mid)
Constructor for HelloMsg.

Parameters:
addr - DESCRIBE THE PARAMETER
src - DESCRIBE THE PARAMETER
tgt - DESCRIBE THE PARAMETER
mid - DESCRIBE THE PARAMETER
Method Detail

getInfo

public java.lang.String getInfo()
Gets the Info attribute of the HelloMsg object

Returns:
The Info value

getId

public int getId()
Gets the Id attribute of the HelloMsg object

Returns:
The Id value

toString

public java.lang.String toString()
DESCRIBE THE METHOD

Returns:
DESCRIBE THE RETURN VALUE

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection