[SNMP4J] nextTransactionID()

Frank Fock fock at agentpp.com
Tue Jan 12 01:18:16 CET 2010


I have synchronized this method now. Thanks again!

On 11.01.2010 15:41, Clement_Pellerin at ibi.com wrote:
> org.snmp4j.agent.request.SnmpRequest.nextRequestID() does not look thread-safe. Is this a bug?
> The data type of transactionID is int.
>
>    public static int nextTransactionID() {
>      return nextTransactionID++;
>    }
>
> _______________________________________________
> 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