ajanta.logger
Class ATPRequestFailEvent

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

public class ATPRequestFailEvent
extends AgentServerEvent

ATP Request Fail Event is an Event generated when an ATP request fails. It is extended from the AgentServerEvent class

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ajanta.logger.AgentServerEvent
agentServerURN
 
Constructor Summary
ATPRequestFailEvent(long time, ajanta.naming.URN agServerURN, java.net.InetAddress src, ajanta.naming.URN srcURN, ajanta.naming.URN agentURN, java.lang.String exMessage)
          ATPRequestFailEvent constructor
 
Method Summary
 java.lang.String getExceptionMessage()
          Returns the message in the exception which caused the ATP request to fail
 java.lang.String getMessage()
          Returns the string representing the 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

ATPRequestFailEvent

public ATPRequestFailEvent(long time,
                           ajanta.naming.URN agServerURN,
                           java.net.InetAddress src,
                           ajanta.naming.URN srcURN,
                           ajanta.naming.URN agentURN,
                           java.lang.String exMessage)
ATPRequestFailEvent 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
exMessage - Message from the exception which caused failure
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 string representing the event


getExceptionMessage

public java.lang.String getExceptionMessage()
Returns the message in the exception which caused the ATP request to fail