|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.snmp.snmp2.agent.BaseTableEntry
com.adventnet.snmp.snmp2.agent.NotificationLogEntry
public class 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 |
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.adventnet.utils.agent.TableEntry |
|---|
computeInstanceOID, getInstanceOID, setInstanceOID |
| 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
AgentException - This Wraps all the Exceptions thrown
while processing this event.
public void setReqID(java.lang.Integer value)
throws AgentException
value - The Integer value for ReqID
AgentException
public java.lang.Long getNotificationUpTime()
throws AgentException
AgentException - This Wraps all the Exceptions thrown
while processing this event.public void setNotificationUpTime(java.lang.Long value)
value - The Long value for the NotificationUpTime.
public java.lang.Integer getNotificationVarbindsCount()
throws AgentException
AgentException - This Wraps all the Exceptions thrown
while processing this event.public void setNotificationVarbindsCount(java.lang.Integer value)
value - Integer specifying the number of VarBinds count.
public java.lang.String getNotificationOID()
throws AgentException
AgentException - This Wraps all the Exceptions thrown
while processing this event.public void setNotificationOID(java.lang.String value)
value - The OID String for NotificationOID
public java.lang.Integer getNotificationVersion()
throws AgentException
AgentException - This Wraps all the Exceptions thrown
while processing this event.public void setNotificationVersion(java.lang.Integer value)
value - Integer Specifying the SNMP Version of this TrapPDU.public void setrowStatus(java.lang.Integer value)
setrowStatus in interface RowStatusHandlerInterfacevalue - the Integer specifying the rowStatus value.AgentUtil.encodeInstanceString
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||