[SNMP4J] Maintaining asynchronous functionality in the application

Frank Fock fock at agentpp.com
Mon Sep 4 23:22:01 CEST 2006


Hi Kurian,

Although Peter's response might already have answered
your question, I would like to add, that using the
MultiThreadedMessageDispatcher instead of the default
MessageDispatcherImpl provides runtime decoupling
and non-blocking (as long as the ThreadPool is not
completely busy) async processing.

Best regards,
Frank

http://www.snmp4j.org/doc/org/snmp4j/util/MultiThreadedMessageDispatcher.html

kurian.pulickal at wipro.com wrote:
> Hi,
> 
> 
> We want to use a custom listener in our application to maintain
> asynchronous functionality. The listener (ResponseListener) provided by
> SNMP4J  will only be used in our wrapper class for SNMP4J. Once we get
> the response in the wrapper class, without any blocking, we want to
> invoke our custom listener. How can we achieve this by decoupling the
> processing within the callback method?
> 
> 
> Any help would be appreciated.
> 
> 
> Regards,
> Kurian
> 
> 
> 
> 
> 
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
> 
> 
> WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
> 
> 
> www.wipro.com
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

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




More information about the SNMP4J mailing list