Package com.tailf.notif
Class SnmpaNotification
Object
com.tailf.notif.Notification
com.tailf.notif.SnmpaNotification
Data structure SNMP agent notifications.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClass representing a SNMP variablestatic classClass representing trapinfo for a trapstatic classClass representing a varbind for a trap -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionSnmpaNotification(int pduType, int requestId, int thandle, InetAddress ip, ConfObject ipValue, int port, int errorStatus, int errorIndex, int numVariables, SnmpaNotification.Varbind[] varbinds, SnmpaNotification.TrapInfo v1Trap) -
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 pduType, int requestId, int thandle, InetAddress ip, ConfObject ipValue, int port, int errorStatus, int errorIndex, int numVariables, SnmpaNotification.Varbind[] varbinds, SnmpaNotification.TrapInfo v1Trap)
-
-
Method Details
-
toString
- Overrides:
toStringin 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
-