[SNMP4J] Question regarding Session object thread safety
Zhang Tao
sdzhangtao at yahoo.com
Tue Oct 2 16:43:00 CEST 2007
Hi,
I have been investigating SNMP4J for a while, but I am
wondering is the Session object thread safe? My
current requirements requires sending traps from
different components. So it's going to multi-threaded
environment. What would be the best strategy for this
concurrency control. Should I create one session each
thread? Can I create a Session object and cache it?
Should I close the Session object if an IOException is
thrown out?
Sorry for so many questions, but I really appreciate
you r help.
Tao
____________________________________________________________________________________
Check out the hottest 2008 models today at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
More information about the SNMP4J
mailing list