Class AuditNotification

Object
com.tailf.notif.Notification
com.tailf.notif.AuditNotification

public class AuditNotification extends Notification
Data structure for Audit events
  • Constructor Summary

    Constructors
    Constructor
    Description
    AuditNotification(int logno, String user, int usid, String msg)
    Constructs a new AuditNotification with the specified parameters.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the log number from confd_logsyms.h associated with this audit event.
    Gets the audit message describing the event that occurred.
    Gets the username associated with this audit event.
    int
    Gets the user session identifier associated with this audit event.
    Returns a string representation of this AuditNotification.

    Methods inherited from class com.tailf.notif.Notification

    getNotificationType

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AuditNotification

      public AuditNotification(int logno, String user, int usid, String msg)
      Constructs a new AuditNotification with the specified parameters.
      Parameters:
      logno - the log number from confd_logsyms.h
      user - the username associated with the audit event
      usid - the user session identifier
      msg - the audit message describing the event
  • Method Details

    • toString

      public String toString()
      Returns a string representation of this AuditNotification.
      Overrides:
      toString in class Notification
      Returns:
      a string representation of this audit notification
    • getLogNo

      public int getLogNo()
      Gets the log number from confd_logsyms.h associated with this audit event.
      Returns:
      the log number identifying the type of audit event
    • getUser

      public String getUser()
      Gets the username associated with this audit event.
      Returns:
      the username
    • getUserId

      public int getUserId()
      Gets the user session identifier associated with this audit event.
      Returns:
      the user session ID
    • getMessage

      public String getMessage()
      Gets the audit message describing the event that occurred.
      Returns:
      the descriptive message for this audit event