[SNMP4J] Shared SNMP instances with MOSubTreeProxy

ru_44 at hotmail.com ru_44 at hotmail.com
Wed Mar 9 18:43:30 CET 2016


I am using MOSubTreeProxy to forward a subTree OID to a remote agent and its working perfectly.
My question I have another thread that is  polling the same remote agent.  
Is it better to share the same snmp instance b/w the MOSubTreeProxy class and my other thread  or create a new snmp instance in the thread.
 
How thread-safe is snmp class if shared in multiple threads?
 
thanks
Rushik Patel
 		 	   		  


More information about the SNMP4J mailing list