ajanta.logger
Class ATPRequestEvent

java.lang.Object
  |
  +--ajanta.logger.Event
        |
        +--ajanta.logger.AgentServerEvent
              |
              +--ajanta.logger.ATPRequestEvent
All Implemented Interfaces:
java.io.Serializable

public class ATPRequestEvent
extends AgentServerEvent

ATP Request Event is an Event generated when an ATP request is received by the Agentserver. It is extended from the AgentServerEvent class

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ajanta.logger.AgentServerEvent
agentServerURN
 
Constructor Summary
ATPRequestEvent(long time, ajanta.naming.URN agServerURN, java.net.InetAddress src, ajanta.naming.URN srcURN, ajanta.naming.URN agentURN)
          ATPRequestEvent constructor
 
Method Summary
 java.lang.String getMessage()
          Returns the type of event
 java.net.InetAddress getSourceHost()
          Returns the InetAddress of the source host
 ajanta.naming.URN getSourceURN()
          Returns the URN of the source agentServer which is sending the agent
 java.lang.String toString()
          Returns a 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

ATPRequestEvent

public ATPRequestEvent(long time,
                       ajanta.naming.URN agServerURN,
                       java.net.InetAddress src,
                       ajanta.naming.URN srcURN,
                       ajanta.naming.URN agentURN)
ATPRequestEvent constructor

Parameters:
time - of event generation
agServerURN - URN of the agentServer
src - InetAddress of the source host
srcURN - URN of the agentServer sending the agent
Method Detail

toString

public java.lang.String toString()
Returns a string representation of the event

Overrides:
toString in class AgentServerEvent

getSourceHost

public java.net.InetAddress getSourceHost()
Returns the InetAddress of the source host


getSourceURN

public ajanta.naming.URN getSourceURN()
Returns the URN of the source agentServer which is sending the agent


getMessage

public java.lang.String getMessage()
Returns the type of event