|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--network.detectors.EventDetector
|
+--network.detectors.SyslogEventDetector
|
+--network.detectors.FtpEventDetector
This detector extends the SyslogEventDetector and generates FtpEvents when called.
| Field Summary | |
private java.lang.String[] |
defaultLocalTriggeringEvents
|
| Fields inherited from class network.detectors.SyslogEventDetector |
compiler, currentYear, dis, eventInfoTable, eventName, file, LIMIT, logFilename, matcher, monthLookup, newLen, paramInstr, paramProcInstr, pattern, prevLen, ptr, run_mode, toolsCreated |
| Fields inherited from class network.detectors.EventDetector |
agentURN, attempts, cred, dbModule, eventIDGenerator, eventTable, host, localTriggeringEvents, printRunningThreadsFlag, 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(network.events.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 |
| Field Detail |
private java.lang.String[] defaultLocalTriggeringEvents
| 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 SyslogEventDetectorpublic java.util.Vector generateEvent(network.events.Event triggeredEvent)
generateEvent in class SyslogEventDetectortriggeredEvent - 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 | |||||||||