ajanta.logger
Class AgentTerminationEvent
java.lang.Object
|
+--ajanta.logger.Event
|
+--ajanta.logger.AgentServerEvent
|
+--ajanta.logger.AgentTerminationEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class AgentTerminationEvent
- extends AgentServerEvent
Agent Termination Event is an Event generated when an Agent terminates
in the Agentserver environment. It is extended from the AgentServerEvent class
- See Also:
- Serialized Form
Constructor Summary |
AgentTerminationEvent(long time,
ajanta.naming.URN agServerURN,
ajanta.naming.URN agentURN)
Constructor for the AgentTerminationEvent |
Method Summary |
java.lang.String |
getMessage()
Returns the type of the event |
java.lang.String |
toString()
Returns the string representation of the event |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AgentTerminationEvent
public AgentTerminationEvent(long time,
ajanta.naming.URN agServerURN,
ajanta.naming.URN agentURN)
- Constructor for the AgentTerminationEvent
- Parameters:
time
- of event generationagServerURN
- URN of the agentServer
toString
public java.lang.String toString()
- Returns the string representation of the event
- Overrides:
toString
in class AgentServerEvent
getMessage
public java.lang.String getMessage()
- Returns the type of the event