SnmpScalar<T>
, SnmpScalarGroup
, SnmpScalarGroupRO
, SnmpScalarRO<T>
, SnmpSubTreeRO<T>
, SnmpTable<C,IC,IT,T,R>
, SnmpTableRO<IC,C,IT,T,R>
SnmpGroupImplRO
, SnmpProxyObjectImpl
, SnmpScalarImpl
, SnmpScalarImplRO
, SnmpSubTreeImplRO
, SnmpTableImpl
, SnmpTableImplRO
public interface SnmpProxyObject
SnmpProxyObject
interface provides the basic characteristics for a proxy object for some
SNMP entity data.Modifier and Type | Method | Description |
---|---|---|
org.snmp4j.smi.OctetString |
getContext() |
Get the context of the proxy object.
|
org.snmp4j.smi.OID |
getOID() |
Gets the unique identifier of this proxy object.
|
TaskId |
reload(SnmpService snmpService,
org.snmp4j.Target target,
VariableBindingMapper variableBindingMapper,
SnmpProxyReloadListener reloadListener) |
Reload the model content of the proxy object from the target SNMP entity asynchronously in the background.
|
boolean |
waitForTask(TaskId taskId,
long timeout) |
Wait until the specified background task terminates.
|
org.snmp4j.smi.OID getOID()
TaskId reload(SnmpService snmpService, org.snmp4j.Target target, VariableBindingMapper variableBindingMapper, SnmpProxyReloadListener reloadListener)
snmpService
- the SNMP service to use.target
- the SNMP target (i.e., address, timeouts, etc.) to use.variableBindingMapper
- the variable binding mapper that maps the retrieved SNMP values to model values (based on SNMP types or
specific OID based mappings).reloadListener
- a callback listener that is informed about the reloading status.boolean waitForTask(TaskId taskId, long timeout)
taskId
- the task ID of the task to wait for.timeout
- the maximum time to wait in millis.true
if the task has terminated, false
otherwise.org.snmp4j.smi.OctetString getContext()
Copyright © 2020 SNMP4J.org. All rights reserved.