Hi Jesse, After calling AgentConfigManager.shutdown() you should also call WorkerPool.stop() on the WorkerPool you provided in the constructor of the AgentConfigManager. This, of course, only applies to thread pools that are under your control and stoppable.
Best regards, Frank Am 16.01.2012 15:27, schrieb Jesse Woo: > Hi Guys, > > I have created a SNMP Agent based on org.snmp4j.agent.example. > SampleAgent.java. > > This agent is running as part of my system, and I want to completely exit the > agent before I can shut the whole system down. > > I tried shutdown() method from AgentConfigManager.java, and it did close the > session but seems it left the thread in memory. > > How can I exit the agent completely? > > Much appreciated for your help. > > Regards, > Jesse > _______________________________________________ > SNMP4J mailing list > SNMP4J@agentpp.org > http://lists.agentpp.org/mailman/listinfo/snmp4j -- --- AGENT++ Maximilian-Kolbe-Str. 10 73257 Koengen, Germany https://agentpp.com Phone: +49 7024 8688230 Fax: +49 7024 8688231 _______________________________________________ SNMP4J mailing list SNMP4J@agentpp.org http://lists.agentpp.org/mailman/listinfo/snmp4j