| |
|
| java.lang.Object org.cougaar.core.mts.Message org.cougaar.core.node.NodeMessage
NodeMessage | public NodeMessage(MessageAddress s, MessageAddress d)(Code) | | Constructor
Parameters: s - The MessageAddress of creator node Parameters: d - The MessageAddress of the target node |
NodeMessage | public NodeMessage()(Code) | | no-arg Constructor.
This is not generally allowed in 1.1 event handling because
EventObject requires a source object during construction. Base
class does not support this type of construction so it cannot
be done here.
|
getDestination | final public MessageAddress getDestination()(Code) | | We provide the translation from the Object version in Message to the
Type sepecific version for the Node messageing subsystem.
Mark it final to allow the compilier to inline optimize the function.
MessageAddress Identifies the reciever of the directive |
getSource | final public MessageAddress getSource()(Code) | | We provide the translation from the object version. Unfortunately
we cannot return a different type in java method overloading so the
method signature is changed. Mark it final to allow the compilier
to inline optimize the function.
MessageAddress Identifies the originator of this directive |
setDestination | final public void setDestination(MessageAddress adestination)(Code) | | Target is stored as na object so that message can service all objects.
Mark it final to allow the compilier to inline optimize the function.
Parameters: adestination - - Set the MessageAddress of the receiver of this message |
setSource | final public void setSource(MessageAddress asource)(Code) | | Source is stored as na object so that message can service all objects.
Mark it final to allow the compilier to inline optimize the function.
Parameters: asource - - Set the MessageAddress of the originator of this message |
|
|
|