|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.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()
Deprecated. |
Message |
getMessage(MessageDeserializer md)
|
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 |
setMessage(RawMessage message)
Sets the internal message for this message Does the same as setMessage(Message) but with better performance, because it doesn't have to introspect if the message is a RawMessage |
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 Message getMessage(MessageDeserializer md)
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 messagepublic void setMessage(RawMessage 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 | |||||||||