|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.p2p.multiring.MultiringRouteMessage
| Field Summary | |
protected RouteMessage |
message
The internal message |
protected Id |
ringId
The messages's ringId |
| Constructor Summary | |
protected |
MultiringRouteMessage(Id ringId,
RouteMessage message)
Constructor |
| 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 |
protected RouteMessage |
getRouteMessage()
Returns the internal route 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 |
| Field Detail |
protected RouteMessage message
protected Id ringId
| Constructor Detail |
protected MultiringRouteMessage(Id ringId,
RouteMessage message)
ringId - DESCRIBE THE PARAMETERmessage - DESCRIBE THE PARAMETER| Method Detail |
protected RouteMessage getRouteMessage()
public Id getDestinationId()
getDestinationId in interface RouteMessagepublic NodeHandle getNextHopHandle()
getNextHopHandle in interface RouteMessagepublic Message getMessage()
getMessage in interface RouteMessagepublic void setDestinationId(Id id)
setDestinationId in interface RouteMessageid - The destination Idpublic void setNextHopHandle(NodeHandle nextHop)
setNextHopHandle in interface RouteMessagenextHop - The next hop for this handlepublic void setMessage(Message message)
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 | ||||||||||