|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.adventnet.snmp.snmp2.agent.BaseTableEntry
|
+--com.adventnet.snmp.snmp2.agent.NotificationLogEntry
These entries will be instantiated whenever a Trap leaves the Agent if ReliableTrap support is on. API Users need not use the set methods as the fields will be filled from the Trap messages.
| Field Summary | |
protected int[] |
instanceOID
The InstanceOID for this Entry. |
protected java.lang.String |
notificationOID
The Trap OID. |
protected java.lang.Long |
notificationUpTime
The Trap Up Time. |
protected java.lang.Integer |
notificationVarbindsCount
The Number of VarBinds in the TrapPDU. |
protected java.lang.Integer |
notificationVersion
The Version of the Trap message. |
protected java.lang.Integer |
reqID
The Index reqId of the Trap message. |
| Fields inherited from class com.adventnet.snmp.snmp2.agent.BaseTableEntry |
agentName,
instanceOID |
| Constructor Summary | |
NotificationLogEntry()
|
|
| Method Summary | |
java.lang.String |
getNotificationOID()
Handles the SNMP Get Request for notificationOID |
java.lang.Long |
getNotificationUpTime()
Handles the SNMP Get Request for notificationLogTime |
java.lang.Integer |
getNotificationVarbindsCount()
Handles the SNMP Get Request for notificationLogVarbinds |
java.lang.Integer |
getNotificationVersion()
Handles the SNMP Get Request for notificationVersion |
java.lang.Integer |
getReqID()
Handles the SNMP Get Request for reqID |
void |
setNotificationOID(java.lang.String value)
Handles the SNMP Set Request for notificationOID |
void |
setNotificationUpTime(java.lang.Long value)
Handles the SNMP Set Request for notificationLogTime |
void |
setNotificationVarbindsCount(java.lang.Integer value)
Handles the SNMP Set Request for notificationLogVarbinds |
void |
setNotificationVersion(java.lang.Integer value)
Handles the SNMP Set Request for notificationVersion |
void |
setReqID(java.lang.Integer value)
Handles the SNMP Set Request for reqID |
void |
setrowStatus(java.lang.Integer value)
This method is used for recomputing the Instance OID. |
| Methods inherited from class com.adventnet.snmp.snmp2.agent.BaseTableEntry |
computeInstanceOID,
decrementCount,
getAttributes,
getCount,
getInstanceOID,
setAgentRef,
setCount,
setInstanceOID |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected java.lang.Integer reqID
protected java.lang.Integer notificationVersion
protected java.lang.Long notificationUpTime
protected java.lang.String notificationOID
protected java.lang.Integer notificationVarbindsCount
protected int[] instanceOID
| Constructor Detail |
public NotificationLogEntry()
| Method Detail |
public java.lang.Integer getReqID()
throws AgentException
public void setReqID(java.lang.Integer value)
throws AgentException
value - The Integer value for ReqID
public java.lang.Long getNotificationUpTime()
throws AgentException
public void setNotificationUpTime(java.lang.Long value)
value - The Long value for the NotificationUpTime.
public java.lang.Integer getNotificationVarbindsCount()
throws AgentException
public void setNotificationVarbindsCount(java.lang.Integer value)
value - Integer specifying the number of VarBinds count.
public java.lang.String getNotificationOID()
throws AgentException
public void setNotificationOID(java.lang.String value)
value - The OID String for NotificationOID
public java.lang.Integer getNotificationVersion()
throws AgentException
public void setNotificationVersion(java.lang.Integer value)
value - Integer Specifying the SNMP Version of this TrapPDU.public void setrowStatus(java.lang.Integer value)
AgentUtil.encodeInstanceString
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||