[SNMP4J] How to set priority of the listener thread in DefaultUdpTransportMapping

Tejo Vamsi Prayaga tejovamsi at yahoo.com
Wed Apr 6 16:08:28 CEST 2005


Hi Frank, All
 
I am just thinking is there any way we can increase the priority of the ListenerThread of DefaultUdpTransportMapping. We might want to do this, in case we want to read the packets at a more faster rate. 
 
I tried extending the DefaultUdpTransportMapping class, but it will not work since, socket and listenerThread are private members, and they will not be able accessible in the subclass.
One option is to write a new class which extends from UdpTransportMapping, but I feel writing a sub class without changing much of the super class functionality is not that much worth it.
 
Are we going to have an API which will support setting of prority of the listener thread in the future. If so, at what time it will be available. If it is not feasible now, I will write a new class, which supports it.
 
Thanks for your time.
 
Regards
Tejo

		
---------------------------------
Do you Yahoo!?
 Better first dates. More second dates. Yahoo! Personals 


More information about the SNMP4J mailing list