Class AuditNetworkNotification

Object
com.tailf.notif.Notification
com.tailf.notif.AuditNetworkNotification

public class AuditNetworkNotification extends Notification
Data structure for audit network notifications.
  • Constructor Details

    • AuditNetworkNotification

      public AuditNetworkNotification(int usid, int tid, String user, String device, String traceId, String config)
      Constructs a new AuditNetworkNotification with the specified parameters.
      Parameters:
      usid - the user session identifier
      tid - the transaction identifier
      user - the username
      device - the device name or identifier
      traceId - the trace identifier
      config - the configuration data as a string
  • Method Details

    • toString

      public String toString()
      Returns a string representation of this AuditNetworkNotification. The string includes all fields in a formatted manner, with the trace ID included only if it is not null.
      Overrides:
      toString in class Notification
      Returns:
      a string representation of this notification
    • getUserId

      public int getUserId()
      Gets the user session identifier.
      Returns:
      the user session identifier
    • getTransactionId

      public int getTransactionId()
      Gets the transaction identifier.
      Returns:
      the transaction identifier
    • getUser

      public String getUser()
      Gets the username associated with this notification.
      Returns:
      the username
    • getDevice

      public String getDevice()
      Gets the device name or identifier associated with this notification.
      Returns:
      the device name or identifier
    • getTraceId

      public String getTraceId()
      Gets the trace identifier for tracking purposes.
      Returns:
      the trace identifier, or null if not set
    • getConfig

      public String getConfig()
      Gets the configuration data as a string.
      Returns:
      the configuration data