com.adventnet.snmp.snmp2.agent
Class VarBindAndGlobalIndex

java.lang.Object
  extended by com.adventnet.snmp.snmp2.agent.VarBindAndGlobalIndex

 class VarBindAndGlobalIndex
extends java.lang.Object

This class holds the varbind reference and a reference to the index of this varbind in the received PDU

We have this class as we split the varbinds and send to different Listener For something like proxy the entire reference may change based on the agent so this class is useful as we would know the index of the varbind

API users don not need a reference for this class


Field Summary
(package private)  int globalIndex
           
(package private)  AgentNode node
           
(package private)  SnmpVarBind varbind
           
 
Constructor Summary
VarBindAndGlobalIndex(SnmpVarBind varbind, AgentNode cell, int globalIndex)
          Just the constructor would do for holding the varbind and storing varbind and the index of the varbind in the SnmpPdu request which has been received by the agent.
VarBindAndGlobalIndex(SnmpVarBind varbind, int globalIndex)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

globalIndex

int globalIndex

varbind

SnmpVarBind varbind

node

AgentNode node
Constructor Detail

VarBindAndGlobalIndex

VarBindAndGlobalIndex(SnmpVarBind varbind,
                      AgentNode cell,
                      int globalIndex)
Just the constructor would do for holding the varbind and storing varbind and the index of the varbind in the SnmpPdu request which has been received by the agent.


VarBindAndGlobalIndex

VarBindAndGlobalIndex(SnmpVarBind varbind,
                      int globalIndex)