|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.scribe.testing.ScribeRegrTest.TestRouteMessage
protected static class ScribeRegrTest.TestRouteMessage
Utility class which simulates a route message
Constructor Summary | |
---|---|
ScribeRegrTest.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 |
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 |
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 ScribeRegrTest.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 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 value
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |