|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
Id |
getDestinationId()
Returns the destination Id for this message |
Message |
getMessage()
Deprecated. use getMesage(MessageDeserializer) |
Message |
getMessage(MessageDeserializer md)
Gets the Message attribute of the RouteMessage object |
NodeHandle |
getNextHopHandle()
Returns the next hop handle for this 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)
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 next hop handle for this message |
Method Detail |
public Id getDestinationId()
public NodeHandle getNextHopHandle()
public Message getMessage()
public Message getMessage(MessageDeserializer md) throws java.io.IOException
md
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTIONpublic void setDestinationId(Id id)
id
- The destination Idpublic void setNextHopHandle(NodeHandle nextHop)
nextHop
- The next hop for this handlepublic void setMessage(Message message)
message
- The internal messagepublic void setMessage(RawMessage message)
message
- The internal message
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |