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

Field Summary
 
Fields inherited from class ajanta.logger.AgentServerEvent
agentServerURN
 
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 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

AgentTerminationEvent

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

Parameters:
time - of event generation
agServerURN - URN of the agentServer
Method Detail

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