|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RouteMessage
Method Summary | |
---|---|
Id |
getDestinationId()
Returns the destination Id for this message |
Message |
getMessage()
Deprecated. use getMesage(MessageDeserializer) |
Message |
getMessage(MessageDeserializer md)
|
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 |
---|
Id getDestinationId()
NodeHandle getNextHopHandle()
Message getMessage()
Message getMessage(MessageDeserializer md) throws java.io.IOException
java.io.IOException
void setDestinationId(Id id)
id
- The destination Idvoid setNextHopHandle(NodeHandle nextHop)
nextHop
- The next hop for this handlevoid setMessage(Message message)
message
- The internal messagevoid 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 |