Package com.tailf.notif
Class AuditNetworkNotification
Object
com.tailf.notif.Notification
com.tailf.notif.AuditNetworkNotification
Data structure for audit network notifications.
- 
Constructor Summary
ConstructorsConstructorDescriptionAuditNetworkNotification(int usid, int tid, String user, String device, String traceId, String config) Constructs a new AuditNetworkNotification with the specified parameters. - 
Method Summary
Modifier and TypeMethodDescriptionGets the configuration data as a string.Gets the device name or identifier associated with this notification.Gets the trace identifier for tracking purposes.intGets the transaction identifier.getUser()Gets the username associated with this notification.intGets the user session identifier.toString()Returns a string representation of this AuditNetworkNotification.Methods inherited from class com.tailf.notif.Notification
getNotificationType 
- 
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 identifiertid- the transaction identifieruser- the usernamedevice- the device name or identifiertraceId- the trace identifierconfig- the configuration data as a string
 
 - 
 - 
Method Details
- 
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:
 toStringin classNotification- 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
Gets the username associated with this notification.- Returns:
 - the username
 
 - 
getDevice
Gets the device name or identifier associated with this notification.- Returns:
 - the device name or identifier
 
 - 
getTraceId
Gets the trace identifier for tracking purposes.- Returns:
 - the trace identifier, or null if not set
 
 - 
getConfig
Gets the configuration data as a string.- Returns:
 - the configuration data
 
 
 -