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

Field Summary
 
Fields inherited from class ajanta.logger.AgentServerEvent
agentServerURN
 
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 ajanta.logger.AgentServerEvent
getFormattedTime
 
Methods inherited from class ajanta.logger.Event
getEventLocation, getName, getTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentExecutionEvent

public AgentExecutionEvent(long time,
                           ajanta.naming.URN agServerURN,
                           ajanta.naming.URN agentURN)
Constructor for the AgentExecutionEvent

Parameters:
time - of event generation
agServerURN - URN of the agentServer
agentURN - URN of the agent that started execution
Method Detail

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