org.snmp4j.agent
Interface MOGroup

All Known Implementing Classes:
AgentppSimulationMib, Modules, MOGroupImpl, NotificationLogMib, Snmp4jConfigMib, Snmp4jDemoMib, Snmp4jHeartbeatMib, Snmp4jLogMib, Snmp4jProxyMib, SnmpCommunityMIB, SnmpFrameworkMIB, SnmpNotificationMIB, SnmpProxyMIB, SnmpSshTmMib, SnmpTargetMIB, SnmpTlsTmMib, SnmpTsmMib, SNMPv2MIB, StaticMOGroup, UsmMIB, VacmMIB

public interface MOGroup

A MOGroup instance is a group of ManagedObjects. A group can include the managed objects from a complete MIB module or only a few objects.

Version:
1.0
Author:
Frank Fock

Method Summary
 void registerMOs(MOServer server, org.snmp4j.smi.OctetString context)
          Registers the managed objects of this group with the server for the supplied context.
 void unregisterMOs(MOServer server, org.snmp4j.smi.OctetString context)
          Unregisters the managed objects of this group from the supplied server and from the supplied context.
 

Method Detail

registerMOs

void registerMOs(MOServer server,
                 org.snmp4j.smi.OctetString context)
                 throws DuplicateRegistrationException
Registers the managed objects of this group with the server for the supplied context.

Parameters:
server - the MOServer where to register the managed objects.
context - the context to use (may be null if no specific context is selected).
Throws:
DuplicateRegistrationException - if a managed object's scope (i.e. lower bound) is already registered at the server.

unregisterMOs

void unregisterMOs(MOServer server,
                   org.snmp4j.smi.OctetString context)
Unregisters the managed objects of this group from the supplied server and from the supplied context.

Parameters:
server - the MOServer where to unregister the managed objects.
context - the context to use (may be null if no specific context is selected).

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.