Constructor and Description |
---|
MOGroupImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
addInstance(ManagedObject mo) |
void |
registerMOs(MOServer server,
org.snmp4j.smi.OctetString context)
Registers the managed objects of this group with the server for the
supplied context.
|
boolean |
removeInstance(ManagedObject mo) |
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.
|
public void registerMOs(MOServer server, org.snmp4j.smi.OctetString context) throws DuplicateRegistrationException
MOGroup
registerMOs
in interface MOGroup
server
- the MOServer
where to register the managed objects.context
- the context to use (may be null
if no specific context
is selected).DuplicateRegistrationException
- if a managed object's scope (i.e. lower bound) is already registered
at the server.public void unregisterMOs(MOServer server, org.snmp4j.smi.OctetString context)
MOGroup
unregisterMOs
in interface MOGroup
server
- the MOServer
where to unregister the managed objects.context
- the context to use (may be null
if no specific context
is selected).public boolean addInstance(ManagedObject mo)
public boolean removeInstance(ManagedObject mo)
Copyright © 2020 SNMP4J.org. All rights reserved.