Class AgentMessageEvent
java.lang.Object
java.util.EventObject
altitude.integrationServer.events.ISEvent
altitude.integrationServer.events.ServerEvent
altitude.integrationServer.events.AgentEvent
altitude.integrationServer.events.AgentMessageEvent
- All Implemented Interfaces:
Serializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMessage sent to the agents.intIdentifier of the agent that sent the message.voidsetMessage(String value) Message sent to the agents.voidsetSenderAgentId(int value) Identifier of the agent that sent the message.toString()Converts the value of this event to a string representation.Methods inherited from class AgentEvent
getAgentId, setAgentIdMethods inherited from class ServerEvent
getInstance, getLoggedAgentId, setInstance, setLoggedAgentIdMethods inherited from class ISEvent
getSerialNumber, getTimestamp, setSerialNumber, setTimestampMethods inherited from class EventObject
getSource
-
Constructor Details
-
AgentMessageEvent
public AgentMessageEvent()
-
-
Method Details
-
getSenderAgentId
public int getSenderAgentId()Identifier of the agent that sent the message. -
setSenderAgentId
public void setSenderAgentId(int value) Identifier of the agent that sent the message. -
getMessage
Message sent to the agents. -
setMessage
Message sent to the agents. -
toString
Converts the value of this event to a string representation.- Overrides:
toStringin classAgentEvent- Returns:
- The string representation of the event.
-