Modifier and Type | Interface | Description |
---|---|---|
interface |
ManagedObjectValueAccess |
The
ManagedObjectValueAccess interface provides direct
access to instance values of a ManagedObject . |
interface |
RandomAccessManagedObject |
A random access managed object allows to import and export any instance of a
ManagedObject 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 |
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 | 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 |
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.
Use
MOServer.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.
|
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-only
Iterator over the content of this server. |
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 supplied
ManagedObject 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.
|
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 provided
ManagedObject if the also provided LockRequest indicates
that the managed object was locked by a preceding MOServer.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.
|
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) |
Modifier and Type | Class | Description |
---|---|---|
class |
Snmp4jDemoMib.Snmp4jDemoScalar |
|
class |
Snmp4jDemoMib.Snmp4jDemoSparseTableType |
Modifier and Type | Interface | Description |
---|---|---|
interface |
ChangeableManagedObject |
The
ChangeableManagedObject interface extends the ManagedObject by methods
to add/remove MOChangeListener that should be informed when the object implementing this
interface changes. |
interface |
MOTable<R extends MOTableRow,C extends MOColumn,M extends MOTableModel<R>> |
The
MOTable interface describes SNMP conceptual tables. |
Modifier and Type | Class | 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 | Description |
---|---|---|
ManagedObject |
MOChangeEvent.getChangedObject() |
Modifier and Type | Method | 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 | Description |
---|---|
MOChangeEvent(java.lang.Object source,
ManagedObject changedObject,
org.snmp4j.smi.OID index,
MOChangeEvent.Modification modification) |
Creates a deniable
MOChangeEvent 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 deniable
MOChangeEvent 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 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 | 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 | 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 | 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 | Description |
---|---|---|
class |
SnmpUsmDhObjectsMib.UsmDHParameters |
|
class |
UsmDHParametersImpl |
The
UsmDHParametersImpl class holds the Diffie Hellman parameters for doing a Diffie-Hellman key agreement. |
Modifier and Type | Class | 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 | Description |
---|---|---|
class |
Snmp4jHeartbeatMib.Snmp4jAgentHBRefTime |
Modifier and Type | Method | Description |
---|---|---|
ManagedObject |
SnmpRequest.SnmpSubRequest.getTargetMO() |
|
ManagedObject |
SubRequest.getTargetMO() |
Gets the
ManagedObject that is responsible for processing
this sub-request. |
Modifier and Type | Method | 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 © 2018 SNMP4J.org. All rights reserved.