[SNMP4J] TransportMapping Intenciation

Frank Fock fock at agentpp.com
Fri Aug 28 23:38:49 CEST 2009


Hi,

Are you reusing the Snmp instance or are you closing
it? If it is closed, it also closes all referenced
transport mappings.

Best regards,
Frank

Li Hee Wah, Edouard wrote:
> Hi, 
> I worked on SNMP4J 1.10 since few days and I have a small problem.When  I
> instantiation a SNMP Class which provide some methode  GET WALK SET...
> during this instantiation i save my  TransportMapping  in a variable and
> call it during a GET request.
> If this is the first request there is no problem. But for the second Get
> Request, the response value is NULL although on wireshark i see a response
> with a couple of Oid/Variable.
> 
> If I instantiate a new TransportMapping  for each request, I see a value in
> the  response. However  it consumes 1MB by new thread TransportMapping .
> I think the Snmp.send method  close  a listener of the TransportMapping so
> it can't link the request and the response together. Is it right ?
> 
> Thank you  very much for any help and appologize me  for  my english level.
> Edouard.
> 
> _______________________________________________
> 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