Hi Lukasz,

First of all, I assume that you meant "pool"
when you wrote "poll", right?

SNMP4J does not use ThreadPool except in the
MulitThreadedMessageDispatcher. If you use
it, the a thread is taken from the pool to
run the onResponse(..) callback. That's all.

Best regards,
Frank

Łukasz Jastrzębski wrote:
> Hi Frank,
> 
> I am using SNMP4J with one snmp session and multiple asynchronous get/set 
> request. My question is how the thread poll of SNMP4J is organized during 
> sending asynch request.
> I see two options:
> 
> 1.    Request is send and thread return to the poll. When response comes then 
> free thread is taken from the poll and process it in ResponseListener.
> 
> 2.    Request is send and thread waits a time out for response (do not return 
> to the poll). When response comes waiting thread will pick it up.
> 
> Frank, could tell me what case is correct?
> 
> Thank you,
> 
> Best Regards
> Lukasz.
> _______________________________________________
> SNMP4J mailing list
> [email protected]
> http://lists.agentpp.org/mailman/listinfo/snmp4j

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

_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to