|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetwork.detectors.EventDetector
network.detectors.SyslogEventDetector
network.detectors.FtpEventDetector
This detector extends the SyslogEventDetector and generates FtpEvents when called.
Field Summary |
Fields inherited from class network.detectors.SyslogEventDetector |
compiler, currentYear, eventInfoTable, eventName, matcher, monthLookup, paramInstr, paramProcInstr, pattern, toolsCreated |
Fields inherited from class network.detectors.EventDetector |
agentURN, cred, dbModule, eventIDGenerator, eventTable, host, localTriggeringEvents, remoteTriggeringEvents, reportTable |
Constructor Summary | |
FtpEventDetector(ConfigObject configObj)
The default constructor. |
|
FtpEventDetector(java.util.Vector localtriggeringEventClassNames,
java.util.Vector remotetriggeringEventClassNames,
ConfigObject configObj)
A constructor that sets up triggering dependencies based on a vector of dependencies that you pass. |
Method Summary | |
java.util.Vector |
generateEvent(Event triggeredEvent)
This method will parse the event string from triggeredEvent and generate a corresponding FtpEvent. |
java.lang.String |
getGeneratingEventClassName()
Returns the fully-qualified classname of the event that this detector may generate. |
static java.lang.String[] |
getParamList()
Returns array of strings containing all the parameters that can be used as input to modify this detector. |
static java.lang.Object[] |
translateParameters(java.lang.String[] inputarray)
This function takes an array of strings from GUI which contains input and converts them to array of objects and returns. |
Methods inherited from class network.detectors.SyslogEventDetector |
match, modifyDetector, parsePatternFile, populatePatterns, setLastReadTime |
Methods inherited from class network.detectors.EventDetector |
getAlarmLevel, getAlertLevel, getLocalTriggeringEventClassNames, getRemoteTriggeringEventClassNames, getSynchronizer, InitializeFields, printRunningThreads, run, setAgentURN, setAlarmLevel, setAlertLevel, setDB, setEventIDGenerator, setEventTable, setLocalTriggeringEvents, setRemoteTriggeringEvents, setReportTable, stopDetector, switchOffPrintRunningThreads |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FtpEventDetector(java.util.Vector localtriggeringEventClassNames, java.util.Vector remotetriggeringEventClassNames, ConfigObject configObj) throws java.lang.Exception
public FtpEventDetector(ConfigObject configObj) throws java.lang.Exception
Method Detail |
public java.lang.String getGeneratingEventClassName()
getGeneratingEventClassName
in class SyslogEventDetector
public java.util.Vector generateEvent(Event triggeredEvent)
generateEvent
in class SyslogEventDetector
triggeredEvent
- the event that triggered the detector.
public static java.lang.String[] getParamList()
public static java.lang.Object[] translateParameters(java.lang.String[] inputarray) throws java.lang.Exception
inputarray
- an array of strings that contains user inputs.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |