Uses of Interface
org.snmp4j.agent.ManagedObject
Packages that use ManagedObject
Package
Description
-
Uses of ManagedObject in org.snmp4j.agent
Subinterfaces of ManagedObject in org.snmp4j.agentModifier and TypeInterfaceDescriptioninterface
TheManagedObjectValueAccess
interface provides direct access to instance values of aManagedObject
.interface
A registered ManagedObject has an unique OID that has been registered world-wide by a MIB module.interface
interface
TheUpdatableManagedObject
interface defines the basic operations for all SNMP(4J) manageable objects that need to be updated to reflect the up-to-date state of the managed object.Methods in org.snmp4j.agent that return ManagedObjectModifier and TypeMethodDescriptionMOServerLookupEvent.getLookupResult()
Returns theManagedObject
that has been looked up.DefaultMOServer.getManagedObject
(org.snmp4j.smi.OID key, org.snmp4j.smi.OctetString context) Returns theManagedObject
with the specifiedOID
as ID returned byRegisteredManagedObject.getID()
or the lower bound (regardless whether the ManagedObject's scope includes it or not) when registered in the supplied context.DefaultMOServer.getManagedObject
(org.snmp4j.smi.OID key, org.snmp4j.smi.OctetString context, boolean fireLookupEvents) Returns theManagedObject
with the specifiedOID
as ID returned byRegisteredManagedObject.getID()
or the lower bound (regardless whether the ManagedObject's scope includes it or not) when registered in the supplied context.DefaultMOServer.lookup
(MOQuery query, LockRequest lockRequest) Lookup the first (lexicographically ordered) managed object that matches the supplied query.MOServer.lookup
(MOQuery query, LockRequest lockRequest) Lookup the first (lexicographically ordered) managed object that matches the supplied query.DefaultMOServer.unregister
(ManagedObject mo, org.snmp4j.smi.OctetString context) MOServer.unregister
(ManagedObject mo, org.snmp4j.smi.OctetString context) Removes the registration of the supplied managed object for the specified context.Methods in org.snmp4j.agent that return types with arguments of type ManagedObjectModifier and TypeMethodDescriptionDefaultMOServer.getRegistry()
DefaultMOServer.iterator()
MOServer.iterator()
Return a read-onlyIterator
over the content of this server.Methods in org.snmp4j.agent with parameters of type ManagedObjectModifier and TypeMethodDescriptionvoid
DefaultMOServer.addLookupListener
(MOServerLookupListener listener, ManagedObject mo) void
MOServer.addLookupListener
(MOServerLookupListener listener, ManagedObject mo) Adds a managed object lookup listener for the supplied managed object to this managed object server.protected void
DefaultMOServer.fireLookupEvent
(ManagedObject mo, MOQuery query) protected void
DefaultMOServer.fireQueryEvent
(ManagedObject mo, MOQuery query) org.snmp4j.smi.OctetString[]
DefaultMOServer.getRegisteredContexts
(ManagedObject managedObject) org.snmp4j.smi.OctetString[]
MOServer.getRegisteredContexts
(ManagedObject managedObject) Returns the contexts for which the suppliedManagedObject
has been registered.boolean
DefaultMOServer.lock
(Object owner, ManagedObject managedObject) boolean
DefaultMOServer.lock
(Object owner, ManagedObject managedObject, long timeoutMillis) boolean
MOServer.lock
(Object owner, ManagedObject managedObject) Locks a ManagedObject by the supplied owner.boolean
MOServer.lock
(Object owner, ManagedObject managedObject, long timeoutMillis) Locks a ManagedObject by the supplied owner.boolean
DefaultMOQuery.matchesQuery
(ManagedObject managedObject) Checks whether a managed object matches the internal query criteria defined by this query.boolean
MOQuery.matchesQuery
(ManagedObject managedObject) Checks whether a managed object matches the internal query criteria defined by this query.void
DefaultMOServer.register
(ManagedObject mo, org.snmp4j.smi.OctetString context) void
MOServer.register
(ManagedObject mo, org.snmp4j.smi.OctetString context) Registers a managed object for the specified context.boolean
DefaultMOServer.removeLookupListener
(MOServerLookupListener listener, ManagedObject mo) boolean
MOServer.removeLookupListener
(MOServerLookupListener listener, ManagedObject mo) Removes a managed object lookup listener for the specified managed object.boolean
DefaultMOServer.unlock
(Object owner, ManagedObject managedObject) boolean
MOServer.unlock
(Object owner, ManagedObject managedObject) Unlocks a ManagedObject that has been locked by the specified owner.protected void
CommandProcessor.unlockManagedObjectIfLockedByLookup
(MOServer server, ManagedObject mo, LockRequest lockRequest) Unlock the providedManagedObject
if the also providedLockRequest
indicates that the managed object was locked by a precedingMOServer.lookup(MOQuery, LockRequest)
operation.DefaultMOServer.unregister
(ManagedObject mo, org.snmp4j.smi.OctetString context) MOServer.unregister
(ManagedObject mo, org.snmp4j.smi.OctetString context) Removes the registration of the supplied managed object for the specified context.Constructors in org.snmp4j.agent with parameters of type ManagedObjectModifierConstructorDescriptionMOServerLookupEvent
(Object source, ManagedObject lookupResult, MOQuery query) -
Uses of ManagedObject in org.snmp4j.agent.example
Classes in org.snmp4j.agent.example that implement ManagedObjectModifier and TypeClassDescriptionclass
class
-
Uses of ManagedObject in org.snmp4j.agent.mo
Subinterfaces of ManagedObject in org.snmp4j.agent.moModifier and TypeInterfaceDescriptioninterface
MOTable<R extends MOTableRow,
C extends MOColumn, M extends MOTableModel<R>> TheMOTable
interface describes SNMP conceptual tables.Classes in org.snmp4j.agent.mo that implement ManagedObjectModifier and TypeClassDescriptionclass
DefaultMOTable<R extends MOTableRow,
C extends MOColumn, M extends MOTableModel<R>> TheDefaultMOTable
class is the default implementation of theMOTable
class.class
MOScalar<V extends org.snmp4j.smi.Variable>
TheMOScalar
class represents scalar SNMP managed objects.Methods in org.snmp4j.agent.mo that return ManagedObjectMethods in org.snmp4j.agent.mo with parameters of type ManagedObjectModifier and TypeMethodDescriptionboolean
MOGroupImpl.addInstance
(ManagedObject mo) boolean
MOFilter.passesFilter
(ManagedObject mo) Checks whether the givenManagedObject
passes this filter.boolean
MOGroupImpl.removeInstance
(ManagedObject mo) Constructors in org.snmp4j.agent.mo with parameters of type ManagedObjectModifierConstructorDescriptionMOChangeEvent
(Object source, ManagedObject changedObject, org.snmp4j.smi.OID oid, org.snmp4j.smi.Variable oldValue, org.snmp4j.smi.Variable newValue) Creates a deniableMOChangeEvent
object based on the changed managed object, the instance OID of the changed value, with old and new value.MOChangeEvent
(Object source, ManagedObject changedObject, org.snmp4j.smi.OID oid, org.snmp4j.smi.Variable oldValue, org.snmp4j.smi.Variable newValue, boolean deniable) Creates aMOChangeEvent
object based on the changed managed object, the instance OID of the changed value, with old and new value. -
Uses of ManagedObject in org.snmp4j.agent.mo.ext
Classes in org.snmp4j.agent.mo.ext that implement ManagedObjectModifier and TypeClassDescriptionclass
class
class
class
TheStaticMOGroup
can be used to easily implement static (read-only) managed objects. -
Uses of ManagedObject in org.snmp4j.agent.mo.lock
Methods in org.snmp4j.agent.mo.lock with parameters of type ManagedObjectModifier and TypeMethodDescriptionboolean
DefaultMOLockStrategy.isLockNeeded
(ManagedObject managedObjectLookedUp, MOQuery query) boolean
MOLockStrategy.isLockNeeded
(ManagedObject managedObjectLookedUp, MOQuery query) Check if the server access to the provided managed object needs a lock. -
Uses of ManagedObject in org.snmp4j.agent.mo.snmp
Classes in org.snmp4j.agent.mo.snmp that implement ManagedObjectModifier and TypeClassDescriptionclass
DateAndTimeScalar<T extends org.snmp4j.smi.OctetString>
TheDateAndTimeScalar
implements the DateAndTime textual convention (TC) from the SNMPv2-TC MIB specification for scalar objects.class
DisplayStringScalar<V extends org.snmp4j.smi.OctetString>
TheDisplayStringScalar
class implements the DisplayString textual convention as defined by the SNMPv2-TC MIB specification for scalar objects.class
EnumeratedScalar<V extends org.snmp4j.smi.Variable>
TheEnumeratedScalar
class represents enumerated SMI INTEGER (=Integer32
) or an OCTET STRING with enumerated named bits for scalar objects.class
class
class
class
static class
class
class
-
Uses of ManagedObject in org.snmp4j.agent.mo.snmp4j
Classes in org.snmp4j.agent.mo.snmp4j that implement ManagedObjectModifier and TypeClassDescriptionclass
In contrast toProxyForwarder
, the MOSubtreeProxy provides a proxy implementation for a single subtree based on the configuration provided by theSnmp4jProxyMib
SnmpProxyMIB
andSnmpTargetMIB
.class
-
Uses of ManagedObject in org.snmp4j.agent.mo.snmp4j.example
Classes in org.snmp4j.agent.mo.snmp4j.example that implement ManagedObject -
Uses of ManagedObject in org.snmp4j.agent.request
Methods in org.snmp4j.agent.request that return ManagedObjectModifier and TypeMethodDescriptionSnmpRequest.SnmpSubRequest.getTargetMO()
SubRequest.getTargetMO()
Gets theManagedObject
that is responsible for processing this sub-request.Methods in org.snmp4j.agent.request with parameters of type ManagedObjectModifier and TypeMethodDescriptionvoid
SnmpRequest.SnmpSubRequest.setTargetMO
(ManagedObject managedObject) void
SubRequest.setTargetMO
(ManagedObject managedObject) Sets theManagedObject
that is determined as the target object of this sub-request by the agent framework.