mam.messaging
Class DoCreateAgentMessage

mam.messaging.AgentMessage
  |
  +--mam.messaging.DoCreateAgentMessage

public class DoCreateAgentMessage
extends AgentMessage

Description


Field Summary
 Stringm_attrRole
           
 AgentPropertiesm_defaultAgentProperties
           

Fields inherited from class mam.messaging.AgentMessage
DEFAULT_TAG_NAME, DEFAULT_TIME_TO_LIVE, DESTINATION_TAG_NAME, m_attrCreationDate, m_attrDestination, m_attrId, m_attrOriginFacility, m_attrReplyTo, m_attrResponseTo, m_attrSource, m_attrTimeToLive, SOURCE_TAG_NAME

Constructor Summary
DoCreateAgentMessage(RoutingTag source, RoutingTag destination, String role, AgentProperties defaultAgentProperties)
           
DoCreateAgentMessage(RoutingTag source, RoutingTag destination, MamId responseTo, String role, AgentProperties defaultAgentProperties)
           

Method Summary
 AgentPropertiesgetDefaultAgentProperties()
           
 StringgetRole()
           
 voidsetDefaultAgentProperties(AgentProperties defaultAgentProperties)
           
 voidsetRole(String role)
           

Methods inherited from class mam.messaging.AgentMessage
decrementTimeToLive, fromXmlElement, getDestination, getId, getOriginFacility, getRemainingTimeToLive, getReplyTo, getResponseTo, getSource, getType, setDestination, setId, setLocal, setOriginFacility, setReplyTo, setResponseTo, setSource, toString, toXmlElement, toXmlElement

Field Detail

m_attrRole

public String m_attrRole

m_defaultAgentProperties

public AgentProperties m_defaultAgentProperties
Constructor Detail

DoCreateAgentMessage

public DoCreateAgentMessage(RoutingTag source, RoutingTag destination, String role, AgentProperties defaultAgentProperties)

DoCreateAgentMessage

public DoCreateAgentMessage(RoutingTag source, RoutingTag destination, MamId responseTo, String role, AgentProperties defaultAgentProperties)
Method Detail

getDefaultAgentProperties

public AgentProperties getDefaultAgentProperties()

getRole

public String getRole()

setDefaultAgentProperties

public void setDefaultAgentProperties(AgentProperties defaultAgentProperties)

setRole

public void setRole(String role)