Uses of Interface
org.snmp4j.agent.ManagedObject
Packages that use ManagedObject
Package
Description
-
Uses of ManagedObject in org.snmp4j.agent
Subinterfaces of ManagedObject in org.snmp4j.agentModifier and TypeInterfaceDescriptioninterfaceManagedObjectValueAccess<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 ManagedObjectModifier and TypeMethodDescription<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<?>>
MOLookup 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 ManagedObjectModifier and TypeMethodDescriptionMOServerLookupEvent.getLookupResult()Returns theManagedObjectthat has been looked up.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.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.default ManagedObject<?>Lookup the first (lexicographically ordered) managed object that matches the supplied query.default ManagedObject<?>MOServer.lookup(MOQuery query, LockRequest lockRequest) Deprecated.default ManagedObject<?>MOServer.lookup(MOQuery query, LockRequest lockRequest, MOServerLookupEvent lookupEvent) 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.Methods in org.snmp4j.agent that return types with arguments of type ManagedObjectModifier and TypeMethodDescriptionDefaultMOServer.getRegistry()DefaultMOServer.iterator()DefaultMOServer.iterator(Comparator<MOScope> comparator, MOFilter moFilter) MOServer.iterator()Return a read-onlyIteratorover the content of this server.default Iterator<Map.Entry<MOScope,ManagedObject<?>>> MOServer.iterator(Comparator<MOScope> comparator) Return anIteratoron the registeredManagedObjects of this server in order defined by the given comparator.MOServer.iterator(Comparator<MOScope> comparator, MOFilter moFilter) Return anIteratoron the registeredManagedObjects of this server in order defined by the given comparator and filtered.Methods in org.snmp4j.agent with parameters of type ManagedObjectModifier and TypeMethodDescriptionvoidDefaultMOServer.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.DefaultMOServer.getRegisteredScopes(ManagedObject<?> managedObject) MOServer.getRegisteredScopes(ManagedObject<?> managedObject) Returns the scopesMOScopeorMOContextScopefor which the suppliedManagedObjecthas been registered in a map indexed by context.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.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.Constructors in org.snmp4j.agent with parameters of type ManagedObjectModifierConstructorDescriptionMOServerLookupEvent(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.moModifier and TypeInterfaceDescriptioninterfaceChangeableManagedObject<SR extends SubRequest<?>>TheChangeableManagedObjectinterface extends theManagedObjectby methods to add/removeMOChangeListenerthat should be informed when the object implementing this interface changes.interfaceTheGenericManagedObjectinterface 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 ManagedObjectModifier and TypeClassDescriptionclassDefaultMOTable<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 ManagedObjectModifier and TypeMethodDescriptionMOPriorityProvider.getBootManagedObject(org.snmp4j.smi.OctetString context) Returns theManagedObjectthat stores the priority information and therefore needs to be stored/restored first to determineMOPriorityProvider.getPriorityMap(OctetString)for the provided context.MOChangeEvent.getChangedObject()Methods in org.snmp4j.agent.mo with parameters of type ManagedObjectModifier and TypeMethodDescriptionbooleanMOGroupImpl.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 ManagedObjectModifierConstructorDescriptionMOChangeEvent(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 ManagedObjectModifier and TypeClassDescriptionclassclassclassclassTheStaticMOGroupcan 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 ManagedObjectModifier and TypeMethodDescriptionbooleanDefaultMOLockStrategy.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 ManagedObjectModifier and TypeClassDescriptionclassDateAndTimeScalar<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.classclassclassclassstatic classclassclass -
Uses of ManagedObject in org.snmp4j.agent.mo.snmp.dh
Classes in org.snmp4j.agent.mo.snmp.dh that implement ManagedObjectModifier and TypeClassDescriptionclassclassTheUsmDHParametersImplclass 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 ManagedObjectModifier and TypeClassDescriptionclassIn contrast toProxyForwarder, the MOSubtreeProxy provides a proxy implementation for a single subtree based on the configuration provided by theSnmp4jProxyMibSnmpProxyMIBandSnmpTargetMIB.classclassMethods in org.snmp4j.agent.mo.snmp4j that return ManagedObjectModifier and TypeMethodDescriptionSnmp4jConfigMib.getBootManagedObject(org.snmp4j.smi.OctetString context) This default implementation ofMOPriorityProviderdoes not support context depend configurations. -
Uses of ManagedObject in org.snmp4j.agent.request
Methods in org.snmp4j.agent.request that return ManagedObjectModifier and TypeMethodDescriptionManagedObject<? 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 ManagedObjectModifier and TypeMethodDescriptionvoidSnmpRequest.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.
MOServer.lookup(MOQuery, LockRequest, MOServerLookupEvent, Class)instead to specify the intended use, and event source.