|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.snmp.mibs.AgentCapabilities
This class represents a AGENT-CAPABILITIES macro in a module.
The AGENT-CAPABILITIES macro is used to specify the implementation characterstics of the agent sub-system.
The AGENT-CAPABILITIES construct consists of a header that is followed by a list of implementation specifications
The header consists of the PRODUCT-RELEASE, STATUS, DESCRIPTION and the REFERENCE clause. The implementation specification includes the SUPPORTS, INCLUDES clauses and list of variations.
The Agent Capabilties Variation includes the SYNTAX, WRITE SYNTAX, ACCESS, CREATION-REQUIRES, DEFVAL and DESCRIPTION clause.
The AGENT-CAPABILTIES macro definition is as follows lowerCaseName AGENT-CAPABILITIES PRODUCT-RELEASE <Text> STATUS <StatusV2> DESCRIPTION <Text> [REFERENCE <Text>] [<Module>]* ::= <oidValue>Where
The AgentCapabilities instance can be obtained using any one of the following methods, after loading the MIB containing the AGENT-CAPABILITIES macro.
MibOperations mibOps = new MibOperations(); try { mibOps.loadMibModules("mibFile"); } catch(Exception ex) { System.out.println(ex); }Method 1 MibModule mod = mibops.getMibModule("moduleName"); AgentCapabilities ac = mod.getAgentCapabilities("AgentCapabilitiesName");
Method 2 MibModule mod = mibops.getMibModule("moduleName"); Enumeration en = mod.getDefinedAgentCapabilities(); while(en.hasMoreElements()) { AgentCapabilities ac = (AgentCapabilities)en.nextElement(); }
Method Summary | |
java.util.Vector |
getACModules()
Gets the acModules defined in this AgentCapabilties macro. |
java.lang.String |
getDescription()
Gets the DESCRIPTION value for this AgentCapabilities macro. |
java.lang.String |
getName()
Gets the name of this AgentCapabilities definition. |
java.lang.String |
getProductRelease()
Gets the PRODUCT-RELEASE of this AgentCapabilities macro. |
java.lang.String |
getReference()
Gets the REFERENCE value for this AgentCapabilities macro. |
java.lang.String |
getStatus()
Gets the STATUS value for this AgentCapabilities macro. |
java.lang.String |
toString()
Gives the name of this ObjectGroup object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String getName()
toString()
public java.lang.String getProductRelease()
The purpose of the PRODUCT-RELEASE clause is to describe the product release which includes the implemented capabilities.
public java.util.Vector getACModules()
public java.lang.String getStatus()
public java.lang.String getDescription()
public java.lang.String getReference()
public java.lang.String toString()
toString
in class java.lang.Object
getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |