|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.past.testing.RawPastRegrTest.TestRouteMessage
Utility class which simulates a route message
Constructor Summary | |
RawPastRegrTest.TestRouteMessage(Id id,
NodeHandle nextHop,
Message message)
Constructor for TestRouteMessage. |
Method Summary | |
Id |
getDestinationId()
Gets the DestinationId attribute of the TestRouteMessage object |
Message |
getMessage()
Gets the Message attribute of the TestRouteMessage object |
Message |
getMessage(MessageDeserializer md)
Gets the Message attribute of the TestRouteMessage object |
NodeHandle |
getNextHopHandle()
Gets the NextHopHandle attribute of the TestRouteMessage object |
void |
setDestinationId(Id id)
Sets the DestinationId attribute of the TestRouteMessage object |
void |
setMessage(Message message)
Sets the Message attribute of the TestRouteMessage object |
void |
setMessage(RawMessage message)
Sets the Message attribute of the TestRouteMessage object |
void |
setNextHopHandle(NodeHandle nextHop)
Sets the NextHopHandle attribute of the TestRouteMessage object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RawPastRegrTest.TestRouteMessage(Id id, NodeHandle nextHop, Message message)
id
- DESCRIBE THE PARAMETERnextHop
- DESCRIBE THE PARAMETERmessage
- DESCRIBE THE PARAMETERMethod Detail |
public Id getDestinationId()
getDestinationId
in interface RouteMessage
public NodeHandle getNextHopHandle()
getNextHopHandle
in interface RouteMessage
public Message getMessage()
getMessage
in interface RouteMessage
public Message getMessage(MessageDeserializer md)
getMessage
in interface RouteMessage
md
- DESCRIBE THE PARAMETER
public void setDestinationId(Id id)
setDestinationId
in interface RouteMessage
id
- The new DestinationId valuepublic void setNextHopHandle(NodeHandle nextHop)
setNextHopHandle
in interface RouteMessage
nextHop
- The new NextHopHandle valuepublic void setMessage(Message message)
setMessage
in interface RouteMessage
message
- The new Message valuepublic void setMessage(RawMessage message)
setMessage
in interface RouteMessage
message
- The new Message value
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |