- All Known Implementing Classes:
SNMPv2MIB
,SNMPv2MIB.SysOREntry
public interface AgentCapabilityList
The agent capabilities list exports information about the agent's
capabilities.
- Version:
- 1.0
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionorg.snmp4j.smi.OID
addSysOREntry
(org.snmp4j.smi.OID sysORID, org.snmp4j.smi.OctetString sysORDescr) Add a capabilities description to the exported list.removeSysOREntry
(org.snmp4j.smi.OID index) Remove a capabilities description from the exported list.
-
Method Details
-
addSysOREntry
org.snmp4j.smi.OID addSysOREntry(org.snmp4j.smi.OID sysORID, org.snmp4j.smi.OctetString sysORDescr) Add a capabilities description to the exported list.- Parameters:
sysORID
- the OID of an AGENT-CAPABILITIES statement.sysORDescr
- A textual description of the capabilities identified by the corresponding instance of sysORID.- Returns:
- the index OID of the entry that uniquely identifies it.
-
removeSysOREntry
Remove a capabilities description from the exported list.- Parameters:
index
- the index OID previously returned byaddSysOREntry(org.snmp4j.smi.OID, org.snmp4j.smi.OctetString)
.- Returns:
- MOTableRow
the removed sysOREntry row or
null
if such a row could not be found.
-