network.events
Class  FileSBitChangedEvent
java.lang.Object
  |
  +--network.events.Event
        |
        +--network.events.FileEvent
              |
              +--network.events.FileSBitChangedEvent
- All Implemented Interfaces: 
 - java.io.Serializable
 
- public class FileSBitChangedEvent
- extends FileEvent
- implements java.io.Serializable
   
- See Also:
 - Serialized Form
 
 
| Fields inherited from class network.events.FileEvent | 
filename, hostname, isDir, st_atime, st_blocks, st_ctime, st_gid, st_inode, st_mode, st_mtime, st_nlink, st_size, st_uid, timeCap, timestamp | 
 
 
| 
Constructor Summary | 
FileSBitChangedEvent(int new_mode,
                     int old_mode,
                     long eventGenerationTime,
                     ajanta.naming.URN AgentURN,
                     java.lang.String hostname,
                     network.detectors.util.FileSign fs,
                     int alertLevel,
                     int alarmLevel)
 
            | 
 
 
| Methods inherited from class network.events.FileEvent | 
getAtime, getBlocks, getCtime, getDirname, getFilename, getFullPath, getGID, getHostname, getInode, getMode, getMtime, getNlink, getSize, getSQLTimeCap, getSQLTimeInsert, getSQLTimestamp, getTimeCap, getTimestamp, getUID, isDir | 
 
| Methods inherited from class network.events.Event | 
createSQL, getAgentURN, getAlarmLevel, getAlertLevel, getDomainName, getEventDeliverTryNumber, getEventGenerationTime, getEventID, getEventLocation, getID, getINTMonth, getMyClass, getName, getSQLTime, getSQLTime, setAlarmLevel, setAlertLevel, setDomainName, setEventID, setPriority, toSQL | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
NewPermissions
private int NewPermissions
OldPermissions
private int OldPermissions
FileSBitChangedEvent
public FileSBitChangedEvent(int new_mode,
                            int old_mode,
                            long eventGenerationTime,
                            ajanta.naming.URN AgentURN,
                            java.lang.String hostname,
                            network.detectors.util.FileSign fs,
                            int alertLevel,
                            int alarmLevel)
- Parameters:
 new_mode - the current set of permissions in decimal formold_mode - the previous set of permissions in decimal formeventGenerationTime - the time of event generationAgentURN - the URN of the agent where the file is locatedhostname - the hostname for the machien the file is located onfs - the FileSign that . . .alertLevel - the alert level that we want this event to havealarmLevel - the alarm level that we want this event to have
toString
public java.lang.String toString()
- Overrides:
 toString in class Event
 
 
getColumnNames
public java.lang.String getColumnNames()
- Overrides:
 getColumnNames in class FileEvent
 
- Returns:
 
 
getFieldNames
public java.lang.String getFieldNames()
- Overrides:
 getFieldNames in class FileEvent
 
- Returns:
 
 
getFieldValues
public java.lang.String getFieldValues()
- Overrides:
 getFieldValues in class FileEvent
 
- Returns:
 
 
getNewPermissions
public int getNewPermissions()
 
 
getOldPermissions
public int getOldPermissions()