network.detectors
Class NewSignatureEventDetector

java.lang.Object
  extended bynetwork.detectors.EventDetector
      extended bynetwork.detectors.NewSignatureEventDetector
All Implemented Interfaces:
java.lang.Runnable, java.io.Serializable

public class NewSignatureEventDetector
extends EventDetector
implements java.io.Serializable, java.lang.Runnable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class network.detectors.EventDetector
agentURN, cred, dbModule, eventIDGenerator, eventTable, localTriggeringEvents, remoteTriggeringEvents, reportTable
 
Constructor Summary
NewSignatureEventDetector(ConfigObject configObj)
           
NewSignatureEventDetector(java.lang.String input, ConfigObject configObj)
           
 
Method Summary
 java.util.Vector generateEvent(Event triggeredEvent)
           
 java.lang.String getGeneratingEventClassName()
           
 java.util.Vector monitorFiles()
          Get the Information about the Files to create the Signatures Vector and send the vector back to the Processor Agent
static java.util.Vector processFile(network.detectors.util.FileList fl, network.detectors.util.FileName fname, int mode)
          Process each of the passed files and create the signatures Vector This is a recursive method called for all the files
 
Methods inherited from class network.detectors.EventDetector
getAlarmLevel, getAlertLevel, getLocalTriggeringEventClassNames, getRemoteTriggeringEventClassNames, getSynchronizer, InitializeFields, modifyDetector, populatePatterns, 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
 
Methods inherited from interface java.lang.Runnable
run
 

Constructor Detail

NewSignatureEventDetector

public NewSignatureEventDetector(java.lang.String input,
                                 ConfigObject configObj)
                          throws java.lang.Exception

NewSignatureEventDetector

public NewSignatureEventDetector(ConfigObject configObj)
                          throws java.lang.Exception
Method Detail

getGeneratingEventClassName

public java.lang.String getGeneratingEventClassName()
Specified by:
getGeneratingEventClassName in class EventDetector
Returns:

generateEvent

public java.util.Vector generateEvent(Event triggeredEvent)
Specified by:
generateEvent in class EventDetector
Parameters:
triggeredEvent -
Returns:

monitorFiles

public java.util.Vector monitorFiles()
Get the Information about the Files to create the Signatures Vector and send the vector back to the Processor Agent

Returns:

processFile

public static java.util.Vector processFile(network.detectors.util.FileList fl,
                                           network.detectors.util.FileName fname,
                                           int mode)
Process each of the passed files and create the signatures Vector This is a recursive method called for all the files

Returns: