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 interfaceManagedObjectValueAccessTheManagedObjectValueAccessinterface provides direct access to instance values of aManagedObject.interfaceRandomAccessManagedObjectA random access managed object allows to import and export any instance of aManagedObjectto/from a byte array.interfaceRegisteredManagedObjectA registered ManagedObject has an unique OID that has been registered world-wide by a MIB module.interfaceSerializableManagedObjectinterfaceUpdatableManagedObjectTheUpdatableManagedObjectinterface 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 ManagedObjectMOServerLookupEvent. getLookupResult()Returns theManagedObjectthat has been looked up.ManagedObjectDefaultMOServer. 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.ManagedObjectDefaultMOServer. 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)ManagedObjectDefaultMOServer. lookup(MOQuery query, LockRequest lockRequest, MOServerLookupEvent lookupEvent)Lookup the first (lexicographically ordered) managed object that matches the supplied query.ManagedObjectMOServer. lookup(MOQuery query)Lookup the first (lexicographically ordered) managed object that matches the supplied query.default ManagedObjectMOServer. lookup(MOQuery query, LockRequest lockRequest)Deprecated.UseMOServer.lookup(MOQuery, LockRequest, MOServerLookupEvent)instead to specify the intended use, and event source.ManagedObjectMOServer. lookup(MOQuery query, LockRequest lockRequest, MOServerLookupEvent lookupEvent)Lookup the first (lexicographically ordered) managed object that matches the supplied query.ManagedObjectDefaultMOServer. unregister(ManagedObject mo, org.snmp4j.smi.OctetString context)ManagedObjectMOServer. 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-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(java.lang.Object owner, ManagedObject managedObject)booleanDefaultMOServer. lock(java.lang.Object owner, ManagedObject managedObject, long timeoutMillis)booleanMOServer. lock(java.lang.Object owner, ManagedObject managedObject)Locks a ManagedObject by the supplied owner.booleanMOServer. lock(java.lang.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.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(java.lang.Object owner, ManagedObject managedObject)booleanMOServer. unlock(java.lang.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.ManagedObjectDefaultMOServer. unregister(ManagedObject mo, org.snmp4j.smi.OctetString context)ManagedObjectMOServer. 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 classSnmp4jDemoMib.Snmp4jDemoScalarclassSnmp4jDemoMib.Snmp4jDemoSparseTableType -
Uses of ManagedObject in org.snmp4j.agent.mo
Subinterfaces of ManagedObject in org.snmp4j.agent.mo Modifier and Type Interface Description interfaceChangeableManagedObjectTheChangeableManagedObjectinterface extends theManagedObjectby methods to add/removeMOChangeListenerthat should be informed when the object implementing this interface changes.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 ManagedObjectMOChangeEvent. getChangedObject()Methods in org.snmp4j.agent.mo with parameters of type ManagedObject Modifier and Type Method Description booleanMOGroupImpl. addInstance(ManagedObject mo)booleanMOFilter. passesFilter(ManagedObject mo)Checks whether the givenManagedObjectpasses this filter.booleanMOGroupImpl. 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 deniableMOChangeEventobject 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 deniableMOChangeEventobject 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 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.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 classSnmp4jHeartbeatMib.Snmp4jAgentHBRefTime -
Uses of ManagedObject in org.snmp4j.agent.request
Methods in org.snmp4j.agent.request that return ManagedObject Modifier and Type Method Description ManagedObjectSnmpRequest.SnmpSubRequest. getTargetMO()ManagedObjectSubRequest. 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 managedObject)voidSubRequest. setTargetMO(ManagedObject managedObject)Sets theManagedObjectthat is determined as the target object of this sub-request by the agent framework.
-