Hi Jeff, Jeff Ramin wrote:
Could somebody explain why the SampleAgent does not extend BaseAgent?
This has been already explained on this list. BaseAgent can be used if you want to inherit basic services. SampleAgent uses the (more advanced) composition approach by using the AgentConfigManager.
I read somewhere that to write your own agent, you should extend BaseAgent, as TestAgent does, but SampleAgent does not.
You can, but that is no recommendation nor a requirement.
What is the purpose of those two classes? If I want to write my own agent, should I start with SampleAgent or TestAgent?
As you like. Best regards, Frank
Thanks.
-- AGENT++ http://www.agentpp.com http://www.mibexplorer.com http://www.mibdesigner.com _______________________________________________ SNMP4J mailing list SNMP4J@agentpp.org http://lists.agentpp.org/mailman/listinfo/snmp4j