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 interfaceManagedObjectValueAccess<SR extends SubRequest<?>>TheManagedObjectValueAccessinterface provides direct access to instance values of aManagedObject.interfaceRandomAccessManagedObject<SR extends SubRequest<?>>A random access managed object allows to import and export any instance of aManagedObjectto/from a byte array.interfaceRegisteredManagedObject<SR extends SubRequest<?>>A registered ManagedObject has an unique OID that has been registered world-wide by a MIB module.interfaceSerializableManagedObject<SR extends SubRequest<?>>interfaceUpdatableManagedObject<SR extends SubRequest<?>>TheUpdatableManagedObjectinterface 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 with type parameters of type ManagedObject Modifier and Type Method Description <MO extends ManagedObject<?>>
MODefaultMOServer. lookup(MOQuery query, LockRequest lockRequest, MOServerLookupEvent lookupEvent, Class<MO> managedObjectType)Lookup the first (lexicographically ordered) managed object that matches the supplied query and implements the givenManagedObjectclass.default <MO extends ManagedObject<?>>
MOMOServer. lookup(MOQuery query, Class<MO> managedObjectType)Lookup the first (lexicographically ordered) managed object that matches the supplied query.<MO extends ManagedObject<?>>
MOMOServer. lookup(MOQuery query, LockRequest lockRequest, MOServerLookupEvent lookupEvent, Class<MO> managedObjectType)Lookup the first (lexicographically ordered) managed object that matches the supplied query and implements the givenManagedObjectclass.Methods in org.snmp4j.agent that return ManagedObject Modifier and Type Method Description ManagedObject<?>MOServerLookupEvent. getLookupResult()Returns theManagedObjectthat has been looked up.ManagedObject<?>DefaultMOServer. getManagedObject(org.snmp4j.smi.OID key, org.snmp4j.smi.OctetString context)Returns theManagedObjectwith the specifiedOIDas 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 theManagedObjectwith the specifiedOIDas ID returned byRegisteredManagedObject.getID()or the lower bound (regardless whether the ManagedObject's scope includes it or not) when registered in the supplied context.ManagedObjectDefaultMOServer. lookup(MOQuery query)default 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, Class)instead to specify the intended use, and event source.default 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 SortedMap<MOScope,ManagedObject<?>>DefaultMOServer. getRegistry()Iterator<Map.Entry<MOScope,ManagedObject<?>>>DefaultMOServer. iterator()Iterator<Map.Entry<MOScope,ManagedObject<?>>>MOServer. iterator()Return a read-onlyIteratorover the content of this server.Methods in org.snmp4j.agent with parameters of type ManagedObject Modifier and Type Method Description voidDefaultMOServer. addLookupListener(MOServerLookupListener listener, ManagedObject<?> mo)voidMOServer. addLookupListener(MOServerLookupListener listener, ManagedObject<?> mo)Adds a managed object lookup listener for the supplied managed object to this managed object server.protected voidDefaultMOServer. fireLookupEvent(ManagedObject<?> mo, MOServerLookupEvent event)protected voidDefaultMOServer. 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 suppliedManagedObjecthas been registered.booleanDefaultMOServer. lock(Object owner, ManagedObject<?> managedObject)booleanDefaultMOServer. lock(Object owner, ManagedObject<?> managedObject, long timeoutMillis)booleanMOServer. lock(Object owner, ManagedObject<?> managedObject)Locks a ManagedObject by the supplied owner.booleanMOServer. lock(Object owner, ManagedObject<?> managedObject, long timeoutMillis)Locks a ManagedObject by the supplied owner.booleanDefaultMOQuery. matchesQuery(ManagedObject<?> managedObject)Checks whether a managed object matches the internal query criteria defined by this query.booleanMOQuery. matchesQuery(ManagedObject<?> managedObject)Checks whether a managed object matches the internal query criteria defined by this query.voidDefaultMOServer. register(ManagedObject<?> mo, org.snmp4j.smi.OctetString context)voidMOServer. register(ManagedObject<?> mo, org.snmp4j.smi.OctetString context)Registers a managed object for the specified context.default booleanMOServer. 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.booleanDefaultMOServer. removeLookupListener(MOServerLookupListener listener, ManagedObject<?> mo)booleanMOServer. removeLookupListener(MOServerLookupListener listener, ManagedObject<?> mo)Removes a managed object lookup listener for the specified managed object.voidMOServerLookupEvent. setLookupResult(ManagedObject<?> lookupResult)Sets the lookup result after construction, for example, if the value is not yet known at construction time.booleanDefaultMOServer. unlock(Object owner, ManagedObject<?> managedObject)booleanMOServer. unlock(Object owner, ManagedObject<?> managedObject)Unlocks a ManagedObject that has been locked by the specified owner.protected voidCommandProcessor. unlockManagedObjectIfLockedByLookup(MOServer server, ManagedObject<?> mo, LockRequest lockRequest)Unlock the providedManagedObjectif the also providedLockRequestindicates 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(Object source, ManagedObject<?> lookupResult, MOQuery query, MOServerLookupEvent.IntendedUse intendedUse)MOServerLookupEvent(Object source, ManagedObject<?> lookupResult, MOQuery query, MOServerLookupEvent.IntendedUse intendedUse, boolean withCompletionCallback) -
Uses of ManagedObject in org.snmp4j.agent.mo
Subinterfaces of ManagedObject in org.snmp4j.agent.mo Modifier and Type Interface Description interfaceChangeableManagedObject<SR extends SubRequest<?>>TheChangeableManagedObjectinterface extends theManagedObjectby methods to add/removeMOChangeListenerthat should be informed when the object implementing this interface changes.interfaceGenericManagedObjectTheGenericManagedObjectinterface marksManagedObjectinstances that can be used with any type ofSubRequest, thus with any type of agent (regular, master, and sub-agent).interfaceMOTable<R extends MOTableRow,C extends MOColumn,M extends MOTableModel<R>>TheMOTableinterface describes SNMP conceptual tables.Classes in org.snmp4j.agent.mo that implement ManagedObject Modifier and Type Class Description classDefaultMOTable<R extends MOTableRow,C extends MOColumn,M extends MOTableModel<R>>TheDefaultMOTableclass is the default implementation of theMOTableclass.classMOScalar<V extends org.snmp4j.smi.Variable>TheMOScalarclass represents scalar SNMP managed objects.Methods in org.snmp4j.agent.mo that return ManagedObject Modifier and Type Method Description ManagedObject<SubRequest<?>>MOChangeEvent. getChangedObject()Methods in org.snmp4j.agent.mo with parameters of type ManagedObject Modifier and Type Method Description booleanMOGroupImpl. addInstance(ManagedObject<SubRequest<?>> mo)booleanMOFilter. passesFilter(ManagedObject<?> mo)Checks whether the givenManagedObjectpasses this filter.booleanMOGroupImpl. removeInstance(ManagedObject<SubRequest<?>> mo)Constructors in org.snmp4j.agent.mo with parameters of type ManagedObject Constructor Description MOChangeEvent(Object source, ManagedObject<SubRequest<?>> changedObject, org.snmp4j.smi.OID index, MOChangeEvent.Modification modification)Creates a deniableMOChangeEventobject based on the changed managed object instances that are identified through a common the instance OID (i.e.MOChangeEvent(Object source, ManagedObject<SubRequest<?>> changedObject, org.snmp4j.smi.OID index, MOChangeEvent.Modification modification, SubRequest<?> subRequest)Creates a deniableMOChangeEventobject based on the changed managed object instances that are identified through a common the instance OID (i.e.MOChangeEvent(Object source, ManagedObject<SubRequest<?>> changedObject, org.snmp4j.smi.OID oid, org.snmp4j.smi.Variable oldValue, org.snmp4j.smi.Variable newValue)Creates a deniableMOChangeEventobject based on the changed managed object, the instance OID of the changed value, with old and new value.MOChangeEvent(Object source, ManagedObject<SubRequest<?>> changedObject, org.snmp4j.smi.OID oid, org.snmp4j.smi.Variable oldValue, org.snmp4j.smi.Variable newValue, boolean deniable)Creates aMOChangeEventobject based on the changed managed object, the instance OID of the changed value, with old and new value.MOChangeEvent(Object source, ManagedObject<SubRequest<?>> changedObject, org.snmp4j.smi.OID oid, org.snmp4j.smi.Variable oldValue, org.snmp4j.smi.Variable newValue, boolean deniable, SubRequest<?> subRequest)Creates aMOChangeEventobject 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 classAgentppSimulationMib.AgentppSimDeleteRowclassAgentppSimulationMib.AgentppSimDeleteTableContentsclassAgentppSimulationMib.AgentppSimModeclassStaticMOGroupTheStaticMOGroupcan 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 booleanDefaultMOLockStrategy. isLockNeeded(ManagedObject<?> managedObjectLookedUp, MOQuery query)booleanMOLockStrategy. 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 classDateAndTimeScalar<T extends org.snmp4j.smi.OctetString>TheDateAndTimeScalarimplements the DateAndTime textual convention (TC) from the SNMPv2-TC MIB specification for scalar objects.classDisplayStringScalar<V extends org.snmp4j.smi.OctetString>TheDisplayStringScalarclass implements the DisplayString textual convention as defined by the SNMPv2-TC MIB specification for scalar objects.classEnumeratedScalar<V extends org.snmp4j.smi.Variable>TheEnumeratedScalarclass represents enumerated SMI INTEGER (=Integer32) or an OCTET STRING with enumerated named bits for scalar objects.classNotificationLogMib.NlmConfigGlobalAgeOutclassNotificationLogMib.NlmConfigGlobalEntryLimitclassSnmpTsmMib.SnmpTsmConfigurationUsePrefixclassSNMPv2MIB.SysOREntrystatic classSNMPv2MIB.SysUpTimeImplclassTestAndIncrclassTimeStampScalar -
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 classSnmpUsmDhObjectsMib.UsmDHParametersclassUsmDHParametersImplTheUsmDHParametersImplclass 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 classMOSubtreeProxyIn contrast toProxyForwarder, the MOSubtreeProxy provides a proxy implementation for a single subtree based on the configuration provided by theSnmp4jProxyMibSnmpProxyMIBandSnmpTargetMIB.classSnmp4jConfigMib.Snmp4jCfgResetclassSnmp4jConfigMib.Snmp4jCfgSecSrcAddrValidation -
Uses of ManagedObject in org.snmp4j.agent.request
Methods in org.snmp4j.agent.request that return ManagedObject Modifier and Type Method Description ManagedObject<? super SnmpRequest.SnmpSubRequest>SnmpRequest.SnmpSubRequest. getTargetMO()ManagedObject<? super N>SubRequest. getTargetMO()Gets theManagedObjectthat is responsible for processing this sub-request.Methods in org.snmp4j.agent.request with parameters of type ManagedObject Modifier and Type Method Description voidSnmpRequest.SnmpSubRequest. setTargetMO(ManagedObject<? super SnmpRequest.SnmpSubRequest> managedObject)voidSubRequest. setTargetMO(ManagedObject<? super N> managedObject)Sets theManagedObjectthat is determined as the target object of this sub-request by the agent framework.
-