|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.past.testing.PastRegrTest.TestRouteMessage
protected static class PastRegrTest.TestRouteMessage
Utility class which simulates a route message
Constructor Summary | |
---|---|
PastRegrTest.TestRouteMessage(Id id,
NodeHandle nextHop,
Message message)
|
Method Summary | |
---|---|
Id |
getDestinationId()
Returns the destination Id for this message |
Message |
getMessage()
Returns the enclosed message inside of this message |
NodeHandle |
getNextHopHandle()
Returns the next hop handle for this message |
void |
setDestinationId(Id id)
Sets the destination Id for this message |
void |
setMessage(Message message)
Sets the internal message for this message |
void |
setNextHopHandle(NodeHandle nextHop)
Sets the next hop handle for this message |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PastRegrTest.TestRouteMessage(Id id, NodeHandle nextHop, Message message)
Method Detail |
---|
public Id getDestinationId()
RouteMessage
getDestinationId
in interface RouteMessage
public NodeHandle getNextHopHandle()
RouteMessage
getNextHopHandle
in interface RouteMessage
public Message getMessage()
RouteMessage
getMessage
in interface RouteMessage
public void setDestinationId(Id id)
RouteMessage
setDestinationId
in interface RouteMessage
id
- The destination Idpublic void setNextHopHandle(NodeHandle nextHop)
RouteMessage
setNextHopHandle
in interface RouteMessage
nextHop
- The next hop for this handlepublic void setMessage(Message message)
RouteMessage
setMessage
in interface RouteMessage
message
- The internal message
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |