Hi Karthik, Call Thread.sleep(1000000) after listen() or wait on a semaphore that is notified by a CommandResponder listener.
Best regards, Frank Karthik Krishnamurthy wrote:
Dear guys, I want to develop a snmp trap receiver that receives traps without stopping. But Snmp.listen() method is not blocking. So the program stops. How can I achieve what I want. Cant find the previous posts on this. Pls help. Regards Karthik _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
-- AGENT++ http://www.agentpp.com http://www.mibexplorer.com http://www.mibdesigner.com _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
