|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.lang.String |
getApplicationId()
Returns the application Id for this message |
NodeHandle |
getDestination()
Returns the destination NodeHandle for this message |
java.lang.String |
getKey()
Gets the identification key of this communication. |
Message |
getMessage()
Returns the enclosed message inside of this message |
int |
getMode()
Gets the mode of the actual Message. |
NodeHandle |
getNextHopHandle()
Returns the next hop handle for this message. |
NodeHandle |
getSource()
Returns the source NodeHandle for this message |
int |
getType()
Gets the type of the actual Message. |
void |
setApplicationId(java.lang.String app)
Sets the destination Id for this message |
void |
setDestination(NodeHandle handle)
Sets the destination NodeHandle for this message |
void |
setKey(java.lang.String key)
Sets the identification key of this communication. |
void |
setMessage(Message message)
Sets the internal message for this message |
void |
setMode(int mode)
Sets the mode of the actual Message. |
void |
setNextHopHandle(NodeHandle nextHop)
Sets the next hop handle for this message |
void |
setSource(NodeHandle handle)
Sets the source NodeHandle for this message |
void |
setType(int type)
Sets the type of the actual Message. |
void |
setValues(java.lang.String appId,
NodeHandle to,
NodeHandle from,
NodeHandle nh,
Message msg,
java.lang.String key,
int type,
int mode)
Sets all values of the actual RouteMessage, before to be sent. |
Method Detail |
public java.lang.String getApplicationId()
public NodeHandle getDestination()
public NodeHandle getSource()
public NodeHandle getNextHopHandle()
public void setNextHopHandle(NodeHandle nextHop)
nextHop
- The next hop for this handlepublic Message getMessage()
public java.lang.String getKey()
public void setApplicationId(java.lang.String app)
public void setDestination(NodeHandle handle)
handle
- The destination NodeHandlepublic void setSource(NodeHandle handle)
handle
- The source NodeHandlepublic void setMessage(Message message)
message
- The internal messagepublic void setKey(java.lang.String key)
public void setMode(int mode)
mode
- The mode of the actual Message.Globals
,
ERROR
public int getType()
public int getMode()
public void setType(int type)
type
- The type of the actual Message.public void setValues(java.lang.String appId, NodeHandle to, NodeHandle from, NodeHandle nh, Message msg, java.lang.String key, int type, int mode)
appId
- Identification of the Application which generate this
message.to
- Destination Id of this RouteMessage.from
- Source Id of this RouteMessage.nh
- NodeHandle for next hop.msg
- Message wrapped to this RouteMessage.key
- Identification key for this communication with the remote node.type
- Type of this message.mode
- Mode of this message.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |