Uses of Interface
org.snmp4j.agent.ManagedObject
Package
Description
-
Uses of ManagedObject in org.snmp4j.agent
Modifier 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.Modifier 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.Modifier and TypeMethodDescriptionDefaultMOServer.getRegistry()
DefaultMOServer.iterator()
MOServer.iterator()
Return a read-onlyIterator
over the content of this server.Modifier 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.ModifierConstructorDescriptionMOServerLookupEvent
(Object source, ManagedObject lookupResult, MOQuery query) -
Uses of ManagedObject in org.snmp4j.agent.example
Modifier and TypeClassDescriptionclass
class
-
Uses of ManagedObject in org.snmp4j.agent.mo
Modifier and TypeInterfaceDescriptioninterface
MOTable<R extends MOTableRow,
C extends MOColumn, M extends MOTableModel<R>> TheMOTable
interface describes SNMP conceptual tables.Modifier 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.Modifier and TypeMethodDescriptionboolean
MOGroupImpl.addInstance
(ManagedObject mo) boolean
MOFilter.passesFilter
(ManagedObject mo) Checks whether the givenManagedObject
passes this filter.boolean
MOGroupImpl.removeInstance
(ManagedObject mo) ModifierConstructorDescriptionMOChangeEvent
(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
Modifier 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
Modifier 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
Modifier 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
Modifier 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
-
Uses of ManagedObject in org.snmp4j.agent.request
Modifier and TypeMethodDescriptionSnmpRequest.SnmpSubRequest.getTargetMO()
SubRequest.getTargetMO()
Gets theManagedObject
that is responsible for processing this sub-request.Modifier 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.