|
Rice Pastry 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()
Deprecated. Use getMessages(MessageDeserializer) |
Message |
getMessage(MessageDeserializer md)
|
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 |
setMessage(RawMessage message)
Better performance. |
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 Message getMessage(MessageDeserializer md) throws java.io.IOException
getMessage
in interface RouteMessage
java.io.IOException
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 messagepublic void setMessage(RawMessage message)
setMessage
in interface RouteMessage
message
- The internal message
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |