Hello All,
I am trying to upgrade a SNMP4J-AgentX application using 2.2.0 to the new 4.1.0 version. Today we use something like this with reconnection and retry logic.
AgentX agentX = new AgentX(new AgentXMessageDispatcherImpl());
subagent = new AgentXSubagent(agentX, new OID(), new OctetString("<NAME>"));
subagent.setThreadPool(threadPool);
subagent.addMOServer(moServer);
I see that we now need a SubagentXConfigManager to construct the AgentXSubagent but that is an abstract class and I can’t seem to find an implementation of it. Neither how I should implement it. or what launchAgentXSessions() should do.
This made me wonder if i’m after the right usecase or maybe it was intended to be used in a different way?
I did find the snmp4j-agent version of this class called AgentConfigManager but this is not abstract and there is an example usage in the same package. is there something comparable for the snmp4j-agentx version?
Kind regards,
Laurence