| java.lang.Object org.cougaar.core.mobility.AbstractTicket org.cougaar.core.mobility.AddTicket
AddTicket | public AddTicket(Object id, MessageAddress mobileAgent, MessageAddress destNode)(Code) | | Add an agent on a remote node.
Parameters: id - ticket-id from the MobilityFactory Parameters: mobileAgent - agent to add Parameters: destNode - target node, or null for the local node |
getDestinationNode | public MessageAddress getDestinationNode()(Code) | | Destination node for the mobile agent.
If the destination node is null then the AgentControl status
should be changed to FAILURE.
|
getIdentifier | public Object getIdentifier()(Code) | | An optional identifier for this addticket instance.
The identifier must be serializable and should be
immutable. A UID is a good identifier.
|
getMobileAgent | public MessageAddress getMobileAgent()(Code) | | The agent to be moved.
An agent can only pass a AddTicket to "dispatch(..)" if
the agent is the one moving. Aside from this
sanity check, tagging the ticket with the agent address
aids debugging.
If the agent is null then the caller of the
MobilityService is assumed.
|
getState | public Object getState()(Code) | | Get the new agent's optional mobile state.
|
hashCode | public int hashCode()(Code) | | |
|
|