public class DumbServer
extends java.lang.Object
implements org.snmp4j.agent.MOServer
Constructor and Description |
---|
DumbServer() |
Modifier and Type | Method and Description |
---|---|
void |
addContext(org.snmp4j.smi.OctetString context) |
void |
addContextListener(org.snmp4j.agent.ContextListener listener) |
void |
addLookupListener(org.snmp4j.agent.MOServerLookupListener listener,
org.snmp4j.agent.ManagedObject mo) |
org.snmp4j.smi.OctetString[] |
getContexts() |
org.snmp4j.agent.mo.MOScalar<?> |
getMOScalar(org.snmp4j.smi.OID oid) |
org.snmp4j.agent.mo.MOTable<?,?,?> |
getMOTable(org.snmp4j.smi.OID oid) |
org.snmp4j.smi.OctetString[] |
getRegisteredContexts(org.snmp4j.agent.ManagedObject managedObject) |
boolean |
isContextSupported(org.snmp4j.smi.OctetString context) |
java.util.Iterator<java.util.Map.Entry<org.snmp4j.agent.MOScope,org.snmp4j.agent.ManagedObject>> |
iterator() |
boolean |
lock(java.lang.Object owner,
org.snmp4j.agent.ManagedObject managedObject) |
boolean |
lock(java.lang.Object owner,
org.snmp4j.agent.ManagedObject managedObject,
long timeoutMillis) |
org.snmp4j.agent.ManagedObject |
lookup(org.snmp4j.agent.MOQuery query) |
org.snmp4j.agent.ManagedObject |
lookup(org.snmp4j.agent.MOQuery query,
org.snmp4j.agent.mo.lock.LockRequest lockRequest) |
void |
register(org.snmp4j.agent.ManagedObject mo,
org.snmp4j.smi.OctetString context) |
void |
removeContext(org.snmp4j.smi.OctetString context) |
void |
removeContextListener(org.snmp4j.agent.ContextListener listener) |
boolean |
removeLookupListener(org.snmp4j.agent.MOServerLookupListener listener,
org.snmp4j.agent.ManagedObject mo) |
boolean |
unlock(java.lang.Object owner,
org.snmp4j.agent.ManagedObject managedObject) |
org.snmp4j.agent.ManagedObject |
unregister(org.snmp4j.agent.ManagedObject mo,
org.snmp4j.smi.OctetString context) |
public void addContext(org.snmp4j.smi.OctetString context)
addContext
in interface org.snmp4j.agent.MOServer
public void addContextListener(org.snmp4j.agent.ContextListener listener)
addContextListener
in interface org.snmp4j.agent.MOServer
public void addLookupListener(org.snmp4j.agent.MOServerLookupListener listener, org.snmp4j.agent.ManagedObject mo)
addLookupListener
in interface org.snmp4j.agent.MOServer
public org.snmp4j.smi.OctetString[] getContexts()
getContexts
in interface org.snmp4j.agent.MOServer
public boolean isContextSupported(org.snmp4j.smi.OctetString context)
isContextSupported
in interface org.snmp4j.agent.MOServer
public java.util.Iterator<java.util.Map.Entry<org.snmp4j.agent.MOScope,org.snmp4j.agent.ManagedObject>> iterator()
iterator
in interface org.snmp4j.agent.MOServer
public org.snmp4j.agent.ManagedObject lookup(org.snmp4j.agent.MOQuery query)
lookup
in interface org.snmp4j.agent.MOServer
public void register(org.snmp4j.agent.ManagedObject mo, org.snmp4j.smi.OctetString context)
register
in interface org.snmp4j.agent.MOServer
public void removeContext(org.snmp4j.smi.OctetString context)
removeContext
in interface org.snmp4j.agent.MOServer
public void removeContextListener(org.snmp4j.agent.ContextListener listener)
removeContextListener
in interface org.snmp4j.agent.MOServer
public boolean removeLookupListener(org.snmp4j.agent.MOServerLookupListener listener, org.snmp4j.agent.ManagedObject mo)
removeLookupListener
in interface org.snmp4j.agent.MOServer
public org.snmp4j.agent.ManagedObject unregister(org.snmp4j.agent.ManagedObject mo, org.snmp4j.smi.OctetString context)
unregister
in interface org.snmp4j.agent.MOServer
public org.snmp4j.agent.mo.MOScalar<?> getMOScalar(org.snmp4j.smi.OID oid)
public org.snmp4j.agent.mo.MOTable<?,?,?> getMOTable(org.snmp4j.smi.OID oid)
public boolean lock(java.lang.Object owner, org.snmp4j.agent.ManagedObject managedObject, long timeoutMillis)
lock
in interface org.snmp4j.agent.MOServer
public boolean lock(java.lang.Object owner, org.snmp4j.agent.ManagedObject managedObject)
lock
in interface org.snmp4j.agent.MOServer
public org.snmp4j.smi.OctetString[] getRegisteredContexts(org.snmp4j.agent.ManagedObject managedObject)
getRegisteredContexts
in interface org.snmp4j.agent.MOServer
public org.snmp4j.agent.ManagedObject lookup(org.snmp4j.agent.MOQuery query, org.snmp4j.agent.mo.lock.LockRequest lockRequest)
lookup
in interface org.snmp4j.agent.MOServer
public boolean unlock(java.lang.Object owner, org.snmp4j.agent.ManagedObject managedObject)
unlock
in interface org.snmp4j.agent.MOServer