|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.p2p.past.testing.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 RouteMessagepublic NodeHandle getNextHopHandle()
RouteMessage
getNextHopHandle in interface RouteMessagepublic Message getMessage()
RouteMessage
getMessage in interface RouteMessagepublic void setDestinationId(Id id)
RouteMessage
setDestinationId in interface RouteMessageid - The destination Idpublic void setNextHopHandle(NodeHandle nextHop)
RouteMessage
setNextHopHandle in interface RouteMessagenextHop - The next hop for this handlepublic void setMessage(Message message)
RouteMessage
setMessage in interface RouteMessagemessage - The internal message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||