|
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
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()
Gets the Message attribute of the TestRouteMessage object |
Message |
getMessage(MessageDeserializer md)
Gets the Message attribute of the TestRouteMessage object |
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 Message attribute of the TestRouteMessage object |
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 RouteMessagemd - DESCRIBE THE PARAMETER
public 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)
setMessage in interface RouteMessagemessage - The new Message value
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||