|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetwork.detectors.EventDetector
network.detectors.FileConsistencyEventDetector
This detector hashes all files in /usr/bin and recalculates the hashes periodically. If a file's hash does not match its previous hash, a FileConsistencyEvent is generated.
| Field Summary |
| Fields inherited from class network.detectors.EventDetector |
agentURN, cred, dbModule, eventIDGenerator, eventTable, host, localTriggeringEvents, remoteTriggeringEvents, reportTable |
| Method Summary | |
java.util.Vector |
generateEvent(Event triggeredEvent)
This method will generate a FileConsistencyEvent if the previous hash of a file does not match the current hash. |
java.lang.String |
getGeneratingEventClassName()
Returns the fully-qualified classname of the event that this detector may generate. |
protected byte[] |
serialize(java.lang.Object X)
Serializes an Object into a byte array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String getGeneratingEventClassName()
getGeneratingEventClassName in class EventDetectorprotected byte[] serialize(java.lang.Object X)
X - the Object to serialize.
public java.util.Vector generateEvent(Event triggeredEvent)
generateEvent in class EventDetectortriggeredEvent - the event that triggered the detector.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||