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)  AgentMibOperations mibOps
           
(package private)  MibModule module
           
 
Constructor Summary
AgentMibModuleExtension(java.lang.String file, 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
 

Field Detail

module

MibModule module

mibOps

AgentMibOperations mibOps
Constructor Detail

AgentMibModuleExtension

public AgentMibModuleExtension(java.lang.String file,
                               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 - fileName
AgentMibOperation - module
Throws:
IOException,FileNotFoundException - If filename is null or not found
MibException - If parse errors occurs in AgentClause stream
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 - fileName
AgentMibModule - module
Throws:
IOException,FileNotFoundException - If filename is null or not found
MibException - If parse errors occurs in AgentClause stream
See Also:
AgentMibOperations, AgentMibModule
Method Detail

main

public static void main(java.lang.String[] args)
main is to be removed