network.events
Class AgentServerLogEvent

java.lang.Object
  |
  +--network.events.Event
        |
        +--network.events.AgentServerLogEvent
All Implemented Interfaces:
java.io.Serializable

public class AgentServerLogEvent
extends Event
implements java.io.Serializable

A generic event class which records an agent server log entry

See Also:
Serialized Form

Field Summary
private  java.lang.String eventString
          Type of the event
private  int logFileEventTime
          logFile timestamp when the event took place
private  ajanta.naming.URN loggedAgentServerURN
          URN of the agentServer which logged the event
private  ajanta.naming.URN loggedAgentURN
          The agent whose activity was logged
 
Fields inherited from class network.events.Event
agentURN, domainName, eventDeliverTryNumber, priority
 
Constructor Summary
AgentServerLogEvent(java.lang.String eventName, long eventGenerationTime, ajanta.naming.URN agentURN, java.lang.String eventString, ajanta.naming.URN loggedAgentServerURN, ajanta.naming.URN loggedAgentURN, int alertLevel, int alarmLevel)
          Constructor for the AgentServerLogEvent class
 
Method Summary
 java.lang.String getColumnNames()
           
 java.lang.String getEventString()
           
 java.lang.String getFieldNames()
           
 java.lang.String getFieldValues()
           
 int getLogFileEventTime()
           
 ajanta.naming.URN getLoggedAgentServerURN()
           
 ajanta.naming.URN getLoggedAgentURN()
           
 java.lang.String getSQLEventString()
           
 java.lang.String toString()
           
 
Methods inherited from class network.events.Event
createSQL, getAgentURN, getAlarmLevel, getAlertLevel, getDomainName, getEventDeliverTryNumber, getEventGenerationTime, getEventID, getEventLocation, getID, getINTMonth, getMyClass, getName, getSQLTime, getSQLTime, setAlarmLevel, setAlertLevel, setDomainName, setEventID, setPriority, toSQL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

eventString

private java.lang.String eventString
Type of the event


logFileEventTime

private int logFileEventTime
logFile timestamp when the event took place


loggedAgentServerURN

private ajanta.naming.URN loggedAgentServerURN
URN of the agentServer which logged the event


loggedAgentURN

private ajanta.naming.URN loggedAgentURN
The agent whose activity was logged

Constructor Detail

AgentServerLogEvent

public AgentServerLogEvent(java.lang.String eventName,
                           long eventGenerationTime,
                           ajanta.naming.URN agentURN,
                           java.lang.String eventString,
                           ajanta.naming.URN loggedAgentServerURN,
                           ajanta.naming.URN loggedAgentURN,
                           int alertLevel,
                           int alarmLevel)
Constructor for the AgentServerLogEvent class

Parameters:
eventName - Name of the Event (AgentServerLogEvent)
agentURN - The agent which runs the detector
eventString - The type of event
loggedAgentServerURN - The agent server URN which logged the event
loggedAgentURN - The agent URN whose activity was logged
alertLevel - Alert level of the network (1-10)
alarmLevel - Alarm level of the event (1-10)
Method Detail

getEventString

public java.lang.String getEventString()
Returns:

getLogFileEventTime

public int getLogFileEventTime()
Returns:

getLoggedAgentServerURN

public ajanta.naming.URN getLoggedAgentServerURN()
Returns:

getLoggedAgentURN

public ajanta.naming.URN getLoggedAgentURN()
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class Event
Returns:

getColumnNames

public java.lang.String getColumnNames()
Overrides:
getColumnNames in class Event
Returns:

getFieldNames

public java.lang.String getFieldNames()
Overrides:
getFieldNames in class Event
Returns:

getFieldValues

public java.lang.String getFieldValues()
Overrides:
getFieldValues in class Event
Returns:

getSQLEventString

public java.lang.String getSQLEventString()
Returns: