com.adventnet.snmp.mibs.agent
Class AgentMibModuleExtension
java.lang.Object
com.adventnet.snmp.mibs.agent.AgentMibModuleExtension
public class AgentMibModuleExtension
- extends java.lang.Object
AgentMibModuleExtension class . This is a extended class of AgentMibModule
This class parses the AGENTCLAUSE macros alone from an '.acs' file
and instruments the corresponding node in the mib file,
thus allowing to instrument a standard mib without altering its contents.
|
Field Summary |
(package private) com.adventnet.snmp.mibs.AgentMibOperations |
mibOps
|
(package private) MibModule |
module
|
|
Constructor Summary |
AgentMibModuleExtension(java.lang.String file,
com.adventnet.snmp.mibs.AgentMibOperations mibOps)
Creates a new AgentMibModuleExtension instance from a filename
and AgentMibOperation instance.Creates a new AgentMibModule instance
with the fileName and AgentMibOperations specified |
AgentMibModuleExtension(java.lang.String file,
MibModule module)
Creates a new AgentMibModuleExtension instance from a filename
and AgentMibModule instance. |
|
Method Summary |
static void |
main(java.lang.String[] args)
main is to be removed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
MibModule module
mibOps
com.adventnet.snmp.mibs.AgentMibOperations mibOps
AgentMibModuleExtension
public AgentMibModuleExtension(java.lang.String file,
com.adventnet.snmp.mibs.AgentMibOperations mibOps)
throws java.io.IOException,
MibException,
java.io.FileNotFoundException
- Creates a new AgentMibModuleExtension instance from a filename
and AgentMibOperation instance.Creates a new AgentMibModule instance
with the fileName and AgentMibOperations specified
- Parameters:
String - fileNameAgentMibOperation - module
- Throws:
IOException,FileNotFoundException - If filename is null or not found
MibException - If parse errors occurs in AgentClause stream
java.io.IOException
java.io.FileNotFoundException- See Also:
AgentMibOperations,
AgentMibModule
AgentMibModuleExtension
public AgentMibModuleExtension(java.lang.String file,
MibModule module)
throws java.io.IOException,
MibException,
java.io.FileNotFoundException
- Creates a new AgentMibModuleExtension instance from a filename
and AgentMibModule instance.
- Parameters:
String - fileNameAgentMibModule - module
- Throws:
IOException,FileNotFoundException - If filename is null or not found
MibException - If parse errors occurs in AgentClause stream
java.io.IOException
java.io.FileNotFoundException- See Also:
AgentMibOperations,
AgentMibModule
main
public static void main(java.lang.String[] args)
- main is to be removed