[SNMP4J] Detecting infinite loop for getnext

Frank Fock fock at agentpp.com
Thu Mar 11 02:08:17 CET 2010


See the JavaDoc. It returns an error code.

Frank

On 11.03.2010 01:44, Jerome Jabson wrote:
> Thanks Frank! I am using TreeUtils to walk the tree. I'm courious, when TreeUtils.getSubtree encounters this, does it throw some kind of exception? Or does it just stop?
>
> Thanks,
> Jerome
>
>
>
> ----- Original Message ----
> From: Frank Fock<fock at agentpp.com>
> To: snmp4j at agentpp.org
> Sent: Wed, March 10, 2010 2:35:07 PM
> Subject: Re: [SNMP4J] Detecting infinite loop for getnext
>
> Jerome,
>
> TableUtils and TreeUtils by default detect incorrect
> lexicograhic ordering. For a single GETNEXT or GETBULK
> PDU, SNMP4J cannot detect itself such errors. This
> has to be done by the application.
>
> Best regards,
> Frank
>
> On 10.03.2010 23:08, Jerome Jabson wrote:
>> Hello,
>>
>> Do SNMP4J detect if a getNext returns the same instance over and over again?
>>
>> Thanks,
>> Jerome
>>
>>
>>
>>
>> _______________________________________________
>> SNMP4J mailing list
>> SNMP4J at agentpp.org
>> http://lists.agentpp.org/mailman/listinfo/snmp4j
>

-- 
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list