|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.multiring.MultiringRouteMessage
public class 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)
Method Detail |
---|
protected RouteMessage getRouteMessage()
public Id getDestinationId()
getDestinationId
in interface RouteMessage
public NodeHandle getNextHopHandle()
getNextHopHandle
in interface RouteMessage
public Message getMessage()
getMessage
in interface RouteMessage
public void setDestinationId(Id id)
setDestinationId
in interface RouteMessage
id
- The destination Idpublic void setNextHopHandle(NodeHandle nextHop)
setNextHopHandle
in interface RouteMessage
nextHop
- The next hop for this handlepublic void setMessage(Message message)
setMessage
in interface RouteMessage
message
- The internal message
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |