Class SnmpPeerFactory

  • All Implemented Interfaces:
    SnmpAgentConfigFactory
    Direct Known Subclasses:
    ProxySnmpAgentConfigFactory

    public class SnmpPeerFactory
    extends Object
    implements SnmpAgentConfigFactory
    This class is the main repository for SNMP configuration information used by the capabilities daemon. When this class is loaded it reads the snmp configuration into memory, and uses the configuration to find the SnmpAgentConfig objects for specific addresses. If an address cannot be located in the configuration then a default peer instance is returned to the caller. Note: Users of this class should make sure the init() is called before calling any other method to ensure the config is loaded before accessing other convenience methods.
    Author:
    David Hustace, Weave, Gerald Turner