com.adventnet.snmp.snmp2.agent
Interface GetNextSupported

All Known Implementing Classes:
TrapForwardingTable

Deprecated. As of AdventNet Agent Toolkit 3.0 This interface may not be supported in future releases of Agent Toolkit.

The GetNextSupported class is used by the implementor of Interpretted Agent. This class is implemented when you are interested in GETNEXT requests especially for columnar objects.

Classes which implement this interface along with SnmpAgentData can use their getNextRequest method .

For scalar MIB objects this wouldnt be required.

public interface GetNextSupported

Since:
AdventNet Agent Toolkit (Java Edition) 4.2 release.
See Also:
SnmpAgentData

Method Summary
 SnmpVar getNextReqMesg(int[] OID, SnmpVarBind varbind)
          Deprecated. To create a varbind with the specified OID.
 

Method Detail

getNextReqMesg

public SnmpVar getNextReqMesg(int[] OID,
                              SnmpVarBind varbind)
                       throws AgentSnmpException,
                              AgentNoNextObject
Deprecated. 
To create a varbind with the specified OID.
(e.g. varbind.oid=.x.x.x.x)
Throws:
AgentSnmpException - Just to report general errors
AgentNoNextObject - in following two cases:
  1. End of mibfile encountered(The node is the last in the mibfile)
  2. or
  3. End of table if the class is implementing a table