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