network.detectors
Class  NewSignatureEventDetector
java.lang.Object
  |
  +--network.detectors.EventDetector
        |
        +--network.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
 
 
 
 
| 
Method Summary | 
 java.util.Vector | 
generateEvent(network.events.Event triggeredEvent)
 
            | 
 java.lang.String | 
getGeneratingEventClassName()
 
            | 
private  int | 
getRunMode()
 
            | 
 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 | 
 
list
private java.util.Hashtable list
rounds
private int rounds
creatorcred
private transient ajanta.agent.Credentials creatorcred
host
private transient ajanta.server.AgentEnv host
run_mode
private int run_mode
ConfigPath
private java.lang.String ConfigPath
NewSignatureEventDetector
public NewSignatureEventDetector(java.lang.String input,
                                 ConfigObject configObj)
                          throws java.lang.Exception
NewSignatureEventDetector
public NewSignatureEventDetector(ConfigObject configObj)
                          throws java.lang.Exception
getGeneratingEventClassName
public java.lang.String getGeneratingEventClassName()
- Specified by:
 getGeneratingEventClassName in class EventDetector
 
- Returns:
 
 
getRunMode
private int getRunMode()
 
 
generateEvent
public java.util.Vector generateEvent(network.events.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: