|
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.PastRegrTest.TestRouteMessage
Utility class which simulates a route message
| Constructor Summary | |
PastRegrTest.TestRouteMessage(rice.p2p.commonapi.Id id,
rice.p2p.commonapi.NodeHandle nextHop,
rice.p2p.commonapi.Message message)
|
|
| Method Summary | |
rice.p2p.commonapi.Id |
getDestinationId()
Returns the destination Id for this message |
rice.p2p.commonapi.Message |
getMessage()
Returns the enclosed message inside of this message |
rice.p2p.commonapi.NodeHandle |
getNextHopHandle()
Returns the next hop handle for this message |
void |
setDestinationId(rice.p2p.commonapi.Id id)
Sets the destination Id for this message |
void |
setMessage(rice.p2p.commonapi.Message message)
Sets the internal message for this message |
void |
setNextHopHandle(rice.p2p.commonapi.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(rice.p2p.commonapi.Id id,
rice.p2p.commonapi.NodeHandle nextHop,
rice.p2p.commonapi.Message message)
| Method Detail |
public rice.p2p.commonapi.Id getDestinationId()
RouteMessage
getDestinationId in interface RouteMessagepublic rice.p2p.commonapi.NodeHandle getNextHopHandle()
RouteMessage
getNextHopHandle in interface RouteMessagepublic rice.p2p.commonapi.Message getMessage()
RouteMessage
getMessage in interface RouteMessagepublic void setDestinationId(rice.p2p.commonapi.Id id)
RouteMessage
setDestinationId in interface RouteMessageid - The destination Idpublic void setNextHopHandle(rice.p2p.commonapi.NodeHandle nextHop)
RouteMessage
setNextHopHandle in interface RouteMessagenextHop - The next hop for this handlepublic void setMessage(rice.p2p.commonapi.Message message)
RouteMessage
setMessage in interface RouteMessagemessage - The internal message
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||