mam.messaging
Class EventLocationChangedMessage

mam.messaging.AgentMessage
  |
  +--mam.messaging.EventLocationChangedMessage

public class EventLocationChangedMessage
extends AgentMessage

Description


Field Summary
 protected Stringm_newLocation
           
 final static StringNEW_LOCATION_TAG_NAME
           

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
EventLocationChangedMessage()
           
EventLocationChangedMessage(RoutingTag source, RoutingTag destination, String newLocation)
           
EventLocationChangedMessage(RoutingTag source, RoutingTag destination, MamId responseTo, String newLocation)
           

Method Summary
 StringgetNewLocation()
           
 voidsetNewLocation(String newLocation)
           
 StringtoString()
           
 ElementtoXmlElement()
           
 ElementtoXmlElement(String tagName)
           

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

Field Detail

m_newLocation

protected String m_newLocation

NEW_LOCATION_TAG_NAME

public final static String NEW_LOCATION_TAG_NAME
Constructor Detail

EventLocationChangedMessage

public EventLocationChangedMessage()

EventLocationChangedMessage

public EventLocationChangedMessage(RoutingTag source, RoutingTag destination, String newLocation)

EventLocationChangedMessage

public EventLocationChangedMessage(RoutingTag source, RoutingTag destination, MamId responseTo, String newLocation)
Method Detail

getNewLocation

public String getNewLocation()

setNewLocation

public void setNewLocation(String newLocation)

toString

public String toString()

toXmlElement

public Element toXmlElement()

toXmlElement

public Element toXmlElement(String tagName)