You can use session manager to manage your receiver traps --- Thứ 5, 7/05/09, [email protected] <[email protected]> đã viết:
Từ: [email protected] <[email protected]> Chủ đề: SNMP4J Digest, Vol 64, Issue 3 Đến: [email protected] Ngày: Thứ Năm, 7 tháng 5, 2009, 10:00 Send SNMP4J mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.agentpp.org/mailman/listinfo/snmp4j or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of SNMP4J digest..." Today's Topics: 1. multithreaded ordered receiver (none none) 2. Re: multithreaded ordered receiver (Frank Fock) ---------------------------------------------------------------------- Message: 1 Date: Wed, 6 May 2009 11:15:11 -0500 From: none none <[email protected]> Subject: [SNMP4J] multithreaded ordered receiver To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1 Hello, I need to create an application that receive and process SNMP v1 traps from multiple senders. As there are multiple senders, it seems convenient to use multiple threads (maybe a thread pool?) to process the traps. But the hard part is: For each sender, the application must process the traps strictly in the order they were received. For example, if the application receives the traps A, B, C, D from a particular sender, then the application must process first A, then B, then C and finally D. It would be great if someone can give any suggestions to do that? Thank you ------------------------------ Message: 2 Date: Thu, 07 May 2009 00:37:49 +0200 From: Frank Fock <[email protected]> Subject: Re: [SNMP4J] multithreaded ordered receiver To: none none <[email protected]> Cc: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hello, The answer is simple: do not use a multi-threaded trap receiver. Best regards, Frank none none schrieb: > Hello, > > I need to create an application that receive and process SNMP v1 traps from > multiple senders. > > As there are multiple senders, it seems convenient to use multiple threads > (maybe a thread pool?) to process the traps. > > But the hard part is: > For each sender, the application must process the traps strictly in the > order they were received. > > For example, if the application receives the traps A, B, C, D from a > particular sender, then the application must process first A, then B, then C > and finally D. > > It would be great if someone can give any suggestions to do that? > > Thank you > _______________________________________________ > SNMP4J mailing list > [email protected] > http://lists.agentpp.org/mailman/listinfo/snmp4j > ------------------------------ _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j End of SNMP4J Digest, Vol 64, Issue 3 ************************************* Nhanh hơn, Tốt hơn, Gọn hơn - Yahoo! Mail: Nay không còn quảng cáo. Trải nghiệm ngay! http://vn.mail.yahoo.com _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
