Re: [SNMP4J] TableUtils.getTable() doesn't return

2016-10-25 Thread Frank Fock
). Best regards, Steffen Brüntjen -Original Message- From: SNMP4J [mailto:snmp4j-boun...@agentpp.org] On Behalf Of Frank Fock Sent: Dienstag, 25. Oktober 2016 02:03 To: snmp4j@agentpp.org Subject: Re: [SNMP4J] TableUtils.getTable() doesn't return Hi Steffen, I cannot imagine a sta

Re: [SNMP4J] TableUtils.getTable() doesn't return

2016-10-25 Thread Steffen Brüntjen
: Dienstag, 25. Oktober 2016 02:03 To: snmp4j@agentpp.org Subject: Re: [SNMP4J] TableUtils.getTable() doesn't return Hi Steffen, I cannot imagine a standard conforming agent that will cause the situation you described, but anyway you are right, that there is a "hole" in the algorith

Re: [SNMP4J] TableUtils.getTable() doesn't return

2016-10-24 Thread Frank Fock
Hi Steffen, I cannot imagine a standard conforming agent that will cause the situation you described, but anyway you are right, that there is a "hole" in the algorithm of TableUtils. To fix it, you can replace the "relevant part in TableRequest.onResponse" with boolean sentChunk; if (!(sen

[SNMP4J] TableUtils.getTable() doesn't return

2016-10-24 Thread Steffen Brüntjen
Hi! I found a problem in the TableUtils class. I set maxNumColumnsPerPDU in my TableUtils object to 1 (because one of the test devices returns results in wrong lexicographic order). Then, in some cases the TableUtils method public List getTable(Target target,