|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.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()
Deprecated. |
Message |
getMessage(MessageDeserializer md)
|
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 |
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 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 PARAMETER| Method Detail |
|---|
public Id getDestinationId()
getDestinationId in interface RouteMessagepublic NodeHandle getNextHopHandle()
getNextHopHandle in interface RouteMessagepublic Message getMessage()
getMessage in interface RouteMessagepublic Message getMessage(MessageDeserializer md)
getMessage in interface RouteMessagepublic void setDestinationId(Id id)
setDestinationId in interface RouteMessageid - The new DestinationId valuepublic void setNextHopHandle(NodeHandle nextHop)
setNextHopHandle in interface RouteMessagenextHop - The new NextHopHandle valuepublic void setMessage(Message message)
setMessage in interface RouteMessagemessage - The new Message valuepublic 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 | |||||||||