com.adventnet.snmp.snmp2.agent
Class NotificationVarbindEntry

java.lang.Object
  |
  +--com.adventnet.snmp.snmp2.agent.BaseTableEntry
        |
        +--com.adventnet.snmp.snmp2.agent.NotificationVarbindEntry

public class NotificationVarbindEntry
extends BaseTableEntry
implements TableEntry

Contains the data handling under notificationVarbindEntry group


Field Summary
protected  int[] instanceOID
          The InstanceOID assiciated with this Entry.
protected  java.lang.Long notificationCounter32Value
          The Counter32 value of the VarBind.
protected  java.lang.Long notificationCounter64Value
          The Counter64 value of the VarBind.
protected  java.lang.Integer notificationInteger32Value
          The Integer32 value of the VarBind.
protected  java.lang.String notificationIpAddressValue
          The IPAddress value of the VarBind.
protected  java.lang.String notificationOctetStringValue
          The OctetString value of the VarBind.
protected  java.lang.String notificationOIDValue
          The NotificationOID.
protected  java.lang.Long notificationTimeTicksValue
          The TimeTicks value of the VarBind.
protected  java.lang.Long notificationUnsigned32Value
          The Unsigned32 value of the VarBind.
protected  java.lang.Integer notificationVarBindIndex
          The Internal Index corresponding to the number of VarBinds Count.
protected  java.lang.String notificationVarBindOID
          The NotificationVarBindOID.
protected  java.lang.String notificationVarBindType
          The NotificationVarBindType.
protected  java.lang.Integer reqID
          The External Index column from the NotificationLog Table.
 
Fields inherited from class com.adventnet.snmp.snmp2.agent.BaseTableEntry
agentName, instanceOID
 
Constructor Summary
NotificationVarbindEntry()
           
 
Method Summary
 java.lang.Long getNotificationCounter32Value()
          Handles the SNMP Get Request for notificationCounter32Value
 java.lang.Long getNotificationCounter64Value()
          Handles the SNMP Get Request for notificationCounter64Value
 java.lang.Integer getNotificationInteger32Value()
          Handles the SNMP Get Request for notificationInteger32Value
 java.lang.String getNotificationIpAddressValue()
          Handles the SNMP Get Request for notificationIpAddressValue
 java.lang.String getNotificationOctetStringValue()
          Handles the SNMP Get Request for notificationOctetStringValue
 java.lang.String getNotificationOIDValue()
          Handles the SNMP Get Request for notificationOIDValue
 java.lang.Long getNotificationTimeTicksValue()
          Handles the SNMP Get Request for notificationTimeTicksValue
 java.lang.Long getNotificationUnsigned32Value()
          Handles the SNMP Get Request for notificationUnsigned32Value
 java.lang.Integer getNotificationVarBindIndex()
          Handles the SNMP Get Request for notificationVarbindIndex
 java.lang.String getNotificationVarBindOID()
          Handles the SNMP Get Request for notificationVarbindID
 java.lang.String getNotificationVarBindType()
          Handles the SNMP Get Request for notificationVarbindType
 java.lang.Integer getReqID()
          Handles the SNMP Get Request for reqID
 void setNotificationCounter32Value(java.lang.Long value)
          Handles the SNMP Set Request for notificationCounter32Value
 void setNotificationCounter64Value(java.lang.Long value)
          Handles the SNMP Set Request for notificationCounter64Value
 void setNotificationInteger32Value(java.lang.Integer value)
          Handles the SNMP Set Request for notificationInteger32Value
 void setNotificationIpAddressValue(java.lang.String value)
          Handles the SNMP Set Request for notificationIpAddressValue
 void setNotificationOctetStringValue(java.lang.String value)
          Handles the SNMP Set Request for notificationOctetStringValue
 void setNotificationOIDValue(java.lang.String value)
          Handles the SNMP Set Request for notificationOIDValue
 void setNotificationTimeTicksValue(java.lang.Long value)
          Handles the SNMP Set Request for notificationTimeTicksValue
 void setNotificationUnsigned32Value(java.lang.Long value)
          Handles the SNMP Set Request for notificationUnsigned32Value
 void setNotificationVarBindIndex(java.lang.Integer value)
          Handles the SNMP Set Request for notificationVarbindIndex
 void setNotificationVarBindOID(java.lang.String value)
          Handles the SNMP Set Request for notificationVarbindID
 void setNotificationVarBindType(java.lang.String value)
          Handles the SNMP Set Request for notificationVarbindType
 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
 

Field Detail

reqID

protected java.lang.Integer reqID
The External Index column from the NotificationLog Table.

notificationVarBindIndex

protected java.lang.Integer notificationVarBindIndex
The Internal Index corresponding to the number of VarBinds Count.

notificationVarBindOID

protected java.lang.String notificationVarBindOID
The NotificationVarBindOID.

notificationVarBindType

protected java.lang.String notificationVarBindType
The NotificationVarBindType.

notificationCounter32Value

protected java.lang.Long notificationCounter32Value
The Counter32 value of the VarBind.

notificationUnsigned32Value

protected java.lang.Long notificationUnsigned32Value
The Unsigned32 value of the VarBind.

notificationTimeTicksValue

protected java.lang.Long notificationTimeTicksValue
The TimeTicks value of the VarBind.

notificationInteger32Value

protected java.lang.Integer notificationInteger32Value
The Integer32 value of the VarBind.

notificationOctetStringValue

protected java.lang.String notificationOctetStringValue
The OctetString value of the VarBind.

notificationIpAddressValue

protected java.lang.String notificationIpAddressValue
The IPAddress value of the VarBind.

notificationOIDValue

protected java.lang.String notificationOIDValue
The NotificationOID.

notificationCounter64Value

protected java.lang.Long notificationCounter64Value
The Counter64 value of the VarBind.

instanceOID

protected int[] instanceOID
The InstanceOID assiciated with this Entry.
Constructor Detail

NotificationVarbindEntry

public NotificationVarbindEntry()
Method Detail

getReqID

public java.lang.Integer getReqID()
                           throws AgentException
Handles the SNMP Get Request for reqID
Returns:
The reqID External Index Value.
Throws:
AgentException - This wraps all the Exceptions while processing this GetRequest.

setReqID

public void setReqID(java.lang.Integer value)
              throws AgentException
Handles the SNMP Set Request for reqID.
Parameters:
value - Integer value for the ReqID.
Throws:
AgentException - This wraps all the Exceptions while processing this SetRequest.

getNotificationVarBindIndex

public java.lang.Integer getNotificationVarBindIndex()
                                              throws AgentException
Handles the SNMP Get Request for notificationVarbindIndex
Returns:
The VarBind Index Value of this Entry.
Throws:
AgentException - This wraps all the Exceptions while processing this GetRequest.

setNotificationVarBindIndex

public void setNotificationVarBindIndex(java.lang.Integer value)
                                 throws AgentException
Handles the SNMP Set Request for notificationVarbindIndex
Parameters:
value - The Integer VarBindIndex to be set.
Throws:
AgentException - This wraps all the Exceptions while processing this SetRequest.

getNotificationVarBindOID

public java.lang.String getNotificationVarBindOID()
                                           throws AgentException
Handles the SNMP Get Request for notificationVarbindID
Returns:
The VarBind OID Value.
Throws:
AgentException - This wraps all the Exceptions while processing this GetRequest.

setNotificationVarBindOID

public void setNotificationVarBindOID(java.lang.String value)
Handles the SNMP Set Request for notificationVarbindID
Parameters:
value - The String OID format to be set as the VarBindOID.

getNotificationVarBindType

public java.lang.String getNotificationVarBindType()
                                            throws AgentException
Handles the SNMP Get Request for notificationVarbindType
Returns:
The VarBindType of this VarBind.
Throws:
AgentException - This wraps all the Exceptions while processing this GetRequest.

setNotificationVarBindType

public void setNotificationVarBindType(java.lang.String value)
Handles the SNMP Set Request for notificationVarbindType
Parameters:
value - The VarBindType to be set.

getNotificationCounter32Value

public java.lang.Long getNotificationCounter32Value()
                                             throws AgentException
Handles the SNMP Get Request for notificationCounter32Value
Returns:
The Counter32 Value of this VarBind else a 0.
Throws:
AgentException - This wraps all the Exceptions while processing this GetRequest.

setNotificationCounter32Value

public void setNotificationCounter32Value(java.lang.Long value)
Handles the SNMP Set Request for notificationCounter32Value
Parameters:
value - The Counter32 Long value to be set.

getNotificationUnsigned32Value

public java.lang.Long getNotificationUnsigned32Value()
                                              throws AgentException
Handles the SNMP Get Request for notificationUnsigned32Value
Returns:
The Unsigned32 Value of this VarBind else a 0.
Throws:
AgentException - This wraps all the Exceptions while processing this GetRequest.

setNotificationUnsigned32Value

public void setNotificationUnsigned32Value(java.lang.Long value)
Handles the SNMP Set Request for notificationUnsigned32Value
Parameters:
value - The Unsigned32 Long value to be set.

getNotificationTimeTicksValue

public java.lang.Long getNotificationTimeTicksValue()
                                             throws AgentException
Handles the SNMP Get Request for notificationTimeTicksValue
Returns:
The TimeTicks Value of this VarBind else a 0.
Throws:
AgentException - This wraps all the Exceptions while processing this GetRequest.

setNotificationTimeTicksValue

public void setNotificationTimeTicksValue(java.lang.Long value)
Handles the SNMP Set Request for notificationTimeTicksValue
Parameters:
value - The TimeTicks Long value to be set.

getNotificationInteger32Value

public java.lang.Integer getNotificationInteger32Value()
                                                throws AgentException
Handles the SNMP Get Request for notificationInteger32Value
Returns:
The Integer32 Value of this VarBind else a 0.
Throws:
AgentException - This wraps all the Exceptions while processing this GetRequest.

setNotificationInteger32Value

public void setNotificationInteger32Value(java.lang.Integer value)
Handles the SNMP Set Request for notificationInteger32Value
Parameters:
value - The Integer32 value to be set.

getNotificationOctetStringValue

public java.lang.String getNotificationOctetStringValue()
                                                 throws AgentException
Handles the SNMP Get Request for notificationOctetStringValue
Returns:
The OCTETSTRING Value of this VarBind else a null.
Throws:
AgentException - This wraps all the Exceptions while processing this GetRequest.

setNotificationOctetStringValue

public void setNotificationOctetStringValue(java.lang.String value)
Handles the SNMP Set Request for notificationOctetStringValue
Parameters:
value - the OctetString value to be set.

getNotificationIpAddressValue

public java.lang.String getNotificationIpAddressValue()
                                               throws AgentException
Handles the SNMP Get Request for notificationIpAddressValue
Returns:
The IPAddress Value of this VarBind else a null.
Throws:
AgentException - This wraps all the Exceptions while processing this GetRequest.

setNotificationIpAddressValue

public void setNotificationIpAddressValue(java.lang.String value)
Handles the SNMP Set Request for notificationIpAddressValue
Parameters:
value - The IPAddress String format.

getNotificationOIDValue

public java.lang.String getNotificationOIDValue()
                                         throws AgentException
Handles the SNMP Get Request for notificationOIDValue
Returns:
The ObjectIdentifier Value of this VarBind else "1.3.6.1.2.1".
Throws:
AgentException - This wraps all the Exceptions while processing this GetRequest.

setNotificationOIDValue

public void setNotificationOIDValue(java.lang.String value)
Handles the SNMP Set Request for notificationOIDValue
Parameters:
value - The ObjectIdentifier String.

getNotificationCounter64Value

public java.lang.Long getNotificationCounter64Value()
                                             throws AgentException
Handles the SNMP Get Request for notificationCounter64Value
Returns:
The Counter64 Value of this VarBind else a 0.
Throws:
AgentException - This wraps all the Exceptions while processing this GetRequest.

setNotificationCounter64Value

public void setNotificationCounter64Value(java.lang.Long value)
Handles the SNMP Set Request for notificationCounter64Value
Parameters:
value - The Counter64 Value to be set.

setrowStatus

public void setrowStatus(java.lang.Integer value)
This method is used for recomputing the Instance OID.
Returns:
The Computed Instance OID.
See Also:
AgentUtil.encodeInstanceString