Modifier and Type | Interface and Description |
---|---|
interface |
ManagedObjectValueAccess
The
ManagedObjectValueAccess interface provides direct
access to instance values of a ManagedObject . |
interface |
RegisteredManagedObject
A registered ManagedObject has an unique OID that has been registered
world-wide by a MIB module.
|
interface |
SerializableManagedObject
|
interface |
UpdatableManagedObject
The
UpdatableManagedObject 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 Type | Method and Description |
---|---|
ManagedObject |
MOServerLookupEvent.getLookupResult()
Returns the
ManagedObject that has been looked up. |
ManagedObject |
DefaultMOServer.getManagedObject(org.snmp4j.smi.OID key,
org.snmp4j.smi.OctetString context)
Returns the
ManagedObject with the specified OID
as ID returned by RegisteredManagedObject.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 the
ManagedObject with the specified OID
as ID returned by RegisteredManagedObject.getID() or the lower bound
(regardless whether the ManagedObject's scope includes it or not)
when registered in the supplied context. |
ManagedObject |
MOServer.lookup(MOQuery query)
Lookup the first (lexicographically ordered) managed object that matches
the supplied query.
|
ManagedObject |
DefaultMOServer.lookup(MOQuery query) |
ManagedObject |
MOServer.lookup(MOQuery query,
LockRequest lockRequest)
Lookup the first (lexicographically ordered) managed object that matches
the supplied query.
|
ManagedObject |
DefaultMOServer.lookup(MOQuery query,
LockRequest lockRequest) |
ManagedObject |
MOServer.unregister(ManagedObject mo,
org.snmp4j.smi.OctetString context)
Removes the registration of the supplied managed object for the specified
context.
|
ManagedObject |
DefaultMOServer.unregister(ManagedObject mo,
org.snmp4j.smi.OctetString context) |
Modifier and Type | Method and Description |
---|---|
SortedMap<MOScope,ManagedObject> |
DefaultMOServer.getRegistry() |
Iterator<Map.Entry<MOScope,ManagedObject>> |
MOServer.iterator()
Return a read-only
Iterator over the content of this server. |
Iterator<Map.Entry<MOScope,ManagedObject>> |
DefaultMOServer.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
MOServer.addLookupListener(MOServerLookupListener listener,
ManagedObject mo)
Adds a managed object lookup listener for the supplied managed object to
this managed object server.
|
void |
DefaultMOServer.addLookupListener(MOServerLookupListener listener,
ManagedObject mo) |
protected void |
DefaultMOServer.fireLookupEvent(ManagedObject mo,
MOQuery query) |
protected void |
DefaultMOServer.fireQueryEvent(ManagedObject mo,
MOQuery query) |
org.snmp4j.smi.OctetString[] |
MOServer.getRegisteredContexts(ManagedObject managedObject)
Returns the contexts for which the supplied
ManagedObject has been
registered. |
org.snmp4j.smi.OctetString[] |
DefaultMOServer.getRegisteredContexts(ManagedObject managedObject) |
boolean |
MOServer.lock(Object owner,
ManagedObject managedObject)
Locks a ManagedObject by the supplied owner.
|
boolean |
DefaultMOServer.lock(Object owner,
ManagedObject managedObject) |
boolean |
MOServer.lock(Object owner,
ManagedObject managedObject,
long timeoutMillis)
Locks a ManagedObject by the supplied owner.
|
boolean |
DefaultMOServer.lock(Object owner,
ManagedObject managedObject,
long timeoutMillis) |
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 |
MOServer.register(ManagedObject mo,
org.snmp4j.smi.OctetString context)
Registers a managed object for the specified context.
|
void |
DefaultMOServer.register(ManagedObject mo,
org.snmp4j.smi.OctetString context) |
boolean |
MOServer.removeLookupListener(MOServerLookupListener listener,
ManagedObject mo)
Removes a managed object lookup listener for the specified managed object.
|
boolean |
DefaultMOServer.removeLookupListener(MOServerLookupListener listener,
ManagedObject mo) |
boolean |
MOServer.unlock(Object owner,
ManagedObject managedObject)
Unlocks a ManagedObject that has been locked by the specified owner.
|
boolean |
DefaultMOServer.unlock(Object owner,
ManagedObject managedObject) |
protected void |
CommandProcessor.unlockManagedObjectIfLockedByLookup(MOServer server,
ManagedObject mo,
LockRequest lockRequest)
Unlock the provided
ManagedObject if the also provided LockRequest indicates
that the managed object was locked by a preceding MOServer.lookup(MOQuery, LockRequest) operation. |
ManagedObject |
MOServer.unregister(ManagedObject mo,
org.snmp4j.smi.OctetString context)
Removes the registration of the supplied managed object for the specified
context.
|
ManagedObject |
DefaultMOServer.unregister(ManagedObject mo,
org.snmp4j.smi.OctetString context) |
Constructor and Description |
---|
MOServerLookupEvent(Object source,
ManagedObject lookupResult,
MOQuery query) |
Modifier and Type | Class and Description |
---|---|
class |
Snmp4jDemoMib.Snmp4jDemoScalar |
class |
Snmp4jDemoMib.Snmp4jDemoSparseTableType |
Modifier and Type | Interface and Description |
---|---|
interface |
MOTable<R extends MOTableRow,C extends MOColumn,M extends MOTableModel<R>>
The
MOTable interface describes SNMP conceptual tables. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultMOTable<R extends MOTableRow,C extends MOColumn,M extends MOTableModel<R>>
The
DefaultMOTable class is the default implementation of the
MOTable class. |
class |
MOScalar<V extends org.snmp4j.smi.Variable>
The
MOScalar class represents scalar SNMP managed objects. |
Modifier and Type | Method and Description |
---|---|
ManagedObject |
MOChangeEvent.getChangedObject() |
Modifier and Type | Method and Description |
---|---|
boolean |
MOGroupImpl.addInstance(ManagedObject mo) |
boolean |
MOFilter.passesFilter(ManagedObject mo)
Checks whether the given
ManagedObject passes this filter. |
boolean |
MOGroupImpl.removeInstance(ManagedObject mo) |
Constructor and Description |
---|
MOChangeEvent(Object source,
ManagedObject changedObject,
org.snmp4j.smi.OID oid,
org.snmp4j.smi.Variable oldValue,
org.snmp4j.smi.Variable newValue)
Creates a deniable
MOChangeEvent 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 a
MOChangeEvent object based on the changed managed
object, the instance OID of the changed value, with old and new value. |
Modifier and Type | Class and Description |
---|---|
class |
AgentppSimulationMib.AgentppSimDeleteRow |
class |
AgentppSimulationMib.AgentppSimDeleteTableContents |
class |
AgentppSimulationMib.AgentppSimMode |
class |
StaticMOGroup
The
StaticMOGroup can be used to easily implement static
(read-only) managed objects. |
Modifier and Type | Method and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
DateAndTimeScalar<T extends org.snmp4j.smi.OctetString>
The
DateAndTimeScalar implements the DateAndTime textual
convention (TC) from the SNMPv2-TC MIB specification for scalar objects. |
class |
DisplayStringScalar<V extends org.snmp4j.smi.OctetString>
The
DisplayStringScalar 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>
The
EnumeratedScalar 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 |
Modifier and Type | Class and Description |
---|---|
class |
MOSubtreeProxy
In contrast to
ProxyForwarder , the MOSubtreeProxy
provides a proxy implementation for a single subtree based on the
configuration provided by the Snmp4jProxyMib
SnmpProxyMIB
and SnmpTargetMIB . |
class |
Snmp4jConfigMib.Snmp4jCfgSecSrcAddrValidation |
Modifier and Type | Class and Description |
---|---|
class |
Snmp4jHeartbeatMib.Snmp4jAgentHBRefTime |
Modifier and Type | Method and Description |
---|---|
ManagedObject |
SnmpRequest.SnmpSubRequest.getTargetMO() |
ManagedObject |
SubRequest.getTargetMO()
Gets the
ManagedObject that is responsible for processing
this sub-request. |
Modifier and Type | Method and Description |
---|---|
void |
SnmpRequest.SnmpSubRequest.setTargetMO(ManagedObject managedObject) |
void |
SubRequest.setTargetMO(ManagedObject managedObject)
Sets the
ManagedObject that is determined as the target object
of this sub-request by the agent framework. |
Copyright © 2019 SNMP4J.org. All rights reserved.