Package com.tailf.notif
Class SnmpaNotification
Object
com.tailf.notif.Notification
com.tailf.notif.SnmpaNotification
Data structure SNMP agent notifications.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Class representing a SNMP variablestatic class
Class representing trapinfo for a trapstatic class
Class representing a varbind for a trap -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionSnmpaNotification
(int pdu_type, int request_id, int thandle, InetAddress ip, ConfObject ipValue, int port, int error_status, int error_index, int num_variables, SnmpaNotification.Varbind[] varbinds, SnmpaNotification.TrapInfo v1_trap) -
Method Summary
Methods inherited from class com.tailf.notif.Notification
getNotificationType
-
Field Details
-
SNMPA_PDU_V1TRAP
public static final int SNMPA_PDU_V1TRAP- See Also:
-
SNMPA_PDU_V2TRAP
public static final int SNMPA_PDU_V2TRAP- See Also:
-
SNMPA_PDU_INFORM
public static final int SNMPA_PDU_INFORM- See Also:
-
SNMPA_PDU_GET_RESPONSE
public static final int SNMPA_PDU_GET_RESPONSE- See Also:
-
SNMPA_PDU_GET_REQUEST
public static final int SNMPA_PDU_GET_REQUEST- See Also:
-
SNMPA_PDU_GET_NEXT_REQUEST
public static final int SNMPA_PDU_GET_NEXT_REQUEST- See Also:
-
SNMPA_PDU_REPORT
public static final int SNMPA_PDU_REPORT- See Also:
-
SNMPA_PDU_GET_BULK_REQUEST
public static final int SNMPA_PDU_GET_BULK_REQUEST- See Also:
-
SNMPA_PDU_SET_REQUEST
public static final int SNMPA_PDU_SET_REQUEST- See Also:
-
-
Constructor Details
-
SnmpaNotification
public SnmpaNotification(int pdu_type, int request_id, int thandle, InetAddress ip, ConfObject ipValue, int port, int error_status, int error_index, int num_variables, SnmpaNotification.Varbind[] varbinds, SnmpaNotification.TrapInfo v1_trap)
-
-
Method Details
-
toString
- Overrides:
toString
in classNotification
-
getPDUType
public int getPDUType() -
getRequestId
public int getRequestId() -
getTransaction
public int getTransaction() -
getIP
-
getIPValue
-
getPort
public int getPort() -
getErrorStatus
public int getErrorStatus() -
getErrorIndex
public int getErrorIndex() -
getNumVariables
public int getNumVariables()size of vbinds -
getVarBinds
-
getTrapInfo
-