Uses of Interface
org.snmp4j.agent.ManagedObject
-
-
Uses of ManagedObject in org.snmp4j.agent
Subinterfaces of ManagedObject in org.snmp4j.agent Modifier and Type Interface Description interface
ManagedObjectValueAccess
TheManagedObjectValueAccess
interface provides direct access to instance values of aManagedObject
.interface
RandomAccessManagedObject
A random access managed object allows to import and export any instance of aManagedObject
to/from a byte array.interface
RegisteredManagedObject
A registered ManagedObject has an unique OID that has been registered world-wide by a MIB module.interface
SerializableManagedObject
interface
UpdatableManagedObject
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 ManagedObject Modifier and Type Method Description ManagedObject
MOServerLookupEvent. getLookupResult()
Returns theManagedObject
that has been looked up.ManagedObject
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.ManagedObject
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.ManagedObject
DefaultMOServer. lookup(MOQuery query)
ManagedObject
DefaultMOServer. lookup(MOQuery query, LockRequest lockRequest, MOServerLookupEvent lookupEvent)
Lookup the first (lexicographically ordered) managed object that matches the supplied query.ManagedObject
MOServer. lookup(MOQuery query)
Lookup the first (lexicographically ordered) managed object that matches the supplied query.default ManagedObject
MOServer. lookup(MOQuery query, LockRequest lockRequest)
Deprecated.UseMOServer.lookup(MOQuery, LockRequest, MOServerLookupEvent)
instead to specify the intended use, and event source.ManagedObject
MOServer. lookup(MOQuery query, LockRequest lockRequest, MOServerLookupEvent lookupEvent)
Lookup the first (lexicographically ordered) managed object that matches the supplied query.ManagedObject
DefaultMOServer. unregister(ManagedObject mo, org.snmp4j.smi.OctetString context)
ManagedObject
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 ManagedObject Modifier and Type Method Description java.util.SortedMap<MOScope,ManagedObject>
DefaultMOServer. getRegistry()
java.util.Iterator<java.util.Map.Entry<MOScope,ManagedObject>>
DefaultMOServer. iterator()
java.util.Iterator<java.util.Map.Entry<MOScope,ManagedObject>>
MOServer. iterator()
Return a read-onlyIterator
over the content of this server.Methods in org.snmp4j.agent with parameters of type ManagedObject Modifier and Type Method Description void
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, MOServerLookupEvent event)
protected void
DefaultMOServer. fireQueryEvent(ManagedObject mo, MOServerLookupEvent event)
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(java.lang.Object owner, ManagedObject managedObject)
boolean
DefaultMOServer. lock(java.lang.Object owner, ManagedObject managedObject, long timeoutMillis)
boolean
MOServer. lock(java.lang.Object owner, ManagedObject managedObject)
Locks a ManagedObject by the supplied owner.boolean
MOServer. lock(java.lang.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.default boolean
MOServer. registerNew(ManagedObject mo, org.snmp4j.smi.OctetString context)
Registers a managed object for the specified context if it has not been registered already (otherwise it does nothing but returningfalse
.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.void
MOServerLookupEvent. setLookupResult(ManagedObject lookupResult)
Sets the lookup result after construction, for example, if the value is not yet known at construction time.boolean
DefaultMOServer. unlock(java.lang.Object owner, ManagedObject managedObject)
boolean
MOServer. unlock(java.lang.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.ManagedObject
DefaultMOServer. unregister(ManagedObject mo, org.snmp4j.smi.OctetString context)
ManagedObject
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 ManagedObject Constructor Description MOServerLookupEvent(java.lang.Object source, ManagedObject lookupResult, MOQuery query, MOServerLookupEvent.IntendedUse intendedUse)
MOServerLookupEvent(java.lang.Object source, ManagedObject lookupResult, MOQuery query, MOServerLookupEvent.IntendedUse intendedUse, boolean withCompletionCallback)
-
Uses of ManagedObject in org.snmp4j.agent.example
Classes in org.snmp4j.agent.example that implement ManagedObject Modifier and Type Class Description class
Snmp4jDemoMib.Snmp4jDemoScalar
class
Snmp4jDemoMib.Snmp4jDemoSparseTableType
-
Uses of ManagedObject in org.snmp4j.agent.mo
Subinterfaces of ManagedObject in org.snmp4j.agent.mo Modifier and Type Interface Description interface
ChangeableManagedObject
TheChangeableManagedObject
interface extends theManagedObject
by methods to add/removeMOChangeListener
that should be informed when the object implementing this interface changes.interface
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 ManagedObject Modifier and Type Class Description class
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 ManagedObject Modifier and Type Method Description ManagedObject
MOChangeEvent. getChangedObject()
Methods in org.snmp4j.agent.mo with parameters of type ManagedObject Modifier and Type Method Description boolean
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 ManagedObject Constructor Description MOChangeEvent(java.lang.Object source, ManagedObject changedObject, org.snmp4j.smi.OID index, MOChangeEvent.Modification modification)
Creates a deniableMOChangeEvent
object based on the changed managed object instances that are identified through a common the instance OID (i.e.MOChangeEvent(java.lang.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(java.lang.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 ManagedObject Modifier and Type Class Description class
AgentppSimulationMib.AgentppSimDeleteRow
class
AgentppSimulationMib.AgentppSimDeleteTableContents
class
AgentppSimulationMib.AgentppSimMode
class
StaticMOGroup
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 ManagedObject Modifier and Type Method Description boolean
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 ManagedObject Modifier and Type Class Description class
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
NotificationLogMib.NlmConfigGlobalAgeOut
class
NotificationLogMib.NlmConfigGlobalEntryLimit
class
SnmpTsmMib.SnmpTsmConfigurationUsePrefix
class
SNMPv2MIB.SysOREntry
static class
SNMPv2MIB.SysUpTimeImpl
class
TestAndIncr
class
TimeStampScalar
-
Uses of ManagedObject in org.snmp4j.agent.mo.snmp.dh
Classes in org.snmp4j.agent.mo.snmp.dh that implement ManagedObject Modifier and Type Class Description class
SnmpUsmDhObjectsMib.UsmDHParameters
class
UsmDHParametersImpl
TheUsmDHParametersImpl
class holds the Diffie Hellman parameters for doing a Diffie-Hellman key agreement. -
Uses of ManagedObject in org.snmp4j.agent.mo.snmp4j
Classes in org.snmp4j.agent.mo.snmp4j that implement ManagedObject Modifier and Type Class Description class
MOSubtreeProxy
In contrast toProxyForwarder
, the MOSubtreeProxy provides a proxy implementation for a single subtree based on the configuration provided by theSnmp4jProxyMib
SnmpProxyMIB
andSnmpTargetMIB
.class
Snmp4jConfigMib.Snmp4jCfgSecSrcAddrValidation
-
Uses of ManagedObject in org.snmp4j.agent.mo.snmp4j.example
Classes in org.snmp4j.agent.mo.snmp4j.example that implement ManagedObject Modifier and Type Class Description class
Snmp4jHeartbeatMib.Snmp4jAgentHBRefTime
-
Uses of ManagedObject in org.snmp4j.agent.request
Methods in org.snmp4j.agent.request that return ManagedObject Modifier and Type Method Description ManagedObject
SnmpRequest.SnmpSubRequest. getTargetMO()
ManagedObject
SubRequest. getTargetMO()
Gets theManagedObject
that is responsible for processing this sub-request.Methods in org.snmp4j.agent.request with parameters of type ManagedObject Modifier and Type Method Description void
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.
-