[SNMP4J] [help] examples for WorkerPool, WorkTask, ThreadFactory?
micky
micky_lee at cyberpowersystems.com.tw
Tue Feb 19 07:18:20 CET 2008
Dear all,
I try to use multithread to access the snmp4j handler (of my program.)
This snmp4j handler will dispatch all request to remote snmp device and then
wait for response.
I design a callback function for the snmp4j handler, it will callback when
the response achieved.
I found there are some class design for thread pool manager and worker task
in SNMP4j rev. 1.9, ex: WorkerPool, WorkTask, ThreadFactory, and etc.
But I don't know how to use or cooperate them into work correctly.
And I still can't find the related information by searching Google.
Does anyone know how to use them?
Any advise will be appreciated.
Thanks for your help.
Sincerely,
Micky
More information about the SNMP4J
mailing list