org.snmp4j.agent.mo.snmp
Interface AgentCapabilityList

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
 org.snmp4j.smi.OID addSysOREntry(org.snmp4j.smi.OID sysORID, org.snmp4j.smi.OctetString sysORDescr)
          Add a capabilities description to the exported list.
 MOTableRow removeSysOREntry(org.snmp4j.smi.OID index)
          Remove a capabilities description from the exported list.
 

Method Detail

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

MOTableRow removeSysOREntry(org.snmp4j.smi.OID index)
Remove a capabilities description from the exported list.

Parameters:
index - the index OID previously returned by addSysOREntry(org.snmp4j.smi.OID, org.snmp4j.smi.OctetString).
Returns:
MOTableRow the removed sysOREntry row or null if such a row could not be found.

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.