|
MySnmpCrawler API | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SnmpException | |
snmp.accessctrl | Provides classes to verifiy the permission to access the managable resources. |
snmp.agent | Provides SnmpAgent class that encapsulates the JMX MBean server and SNMP adaptor server. |
snmp.lib | Provides the library classes used by the system. |
snmp.lib.util | Provides the utility library classes used by the system. |
snmp.mbean | Provides the default implementation to serve the MBean class as the MIB instrumentation. |
snmp.message.datatype | Provides the classes to define the SNMP datatype (object syntax). |
snmp.message.handler | Provides the classes to handle the SNMP message. |
snmp.message.pdu | Provides the classes to represent the SNMP PDU. |
snmp.mibdb | Provides the classes to implementate the MIB database. |
snmp.session | Provides the classes to implement the SNMP session. |
snmp.test.mbeans.demo | Provides the test MBean classes. |
Uses of SnmpException in snmp.accessctrl |
Methods in snmp.accessctrl that throw SnmpException | |
AccessControl |
AccessControlFactory.createAccessControl()
Creates the AccessControl object using the class name specified in the configuration file. |
AccessControl |
AccessControlFactory.createAccessControl(java.lang.String className)
Creates the AccessControl object dynamically using the string of class name. |
void |
DefaultAccessControl.checkAccess(SnmpSession session)
By default it does not check anything. |
void |
AccessControl.checkAccess(SnmpSession session)
Checks if the session has the permission to access the managable resources. |
Uses of SnmpException in snmp.agent |
Methods in snmp.agent that throw SnmpException | |
void |
BaseAgent.addHtmlAdaptor()
Creates, registers and starts the HTML adaptor. |
void |
BaseAgent.addMBean(java.lang.Object mbean,
java.lang.String name)
Registers the MBean with the given name to the MBean server. |
void |
BaseAgent.addMBean(java.lang.Object mbean,
javax.management.ObjectName mbean_name)
Registers the MBean with the given name to the MBean server. |
Constructors in snmp.agent that throw SnmpException | |
BaseAgent()
Constructs the BaseAgent object and creates the JMX MBean server. |
Uses of SnmpException in snmp.lib |
Methods in snmp.lib that throw SnmpException | |
OidRecord |
ServiceConnector.getOidRecord(java.lang.String oid)
Gets the OID record matching to the oid string from the MIB database. |
SnmpVariable |
ServiceConnector.getAttribute(SnmpVariable var)
Gets the MBean attribute value associating to the OID record. |
SnmpVariable |
ServiceConnector.setAttribute(SnmpVariable var)
Sets the MBean attribute value associating to the OID record. |
private void |
ServiceLocator.init()
Invoked to load the objects of major components. |
SnmpMBean |
ServiceLocator.getSnmpMBean(java.lang.String oidGroupName)
Gets the SnmpMBean object matching to the OID group name. |
static ServiceLocator |
ServiceLocator.loadService(SnmpAgent agent)
Invoked to load the service with the SnmpAgent object when the system starts. |
static ServiceLocator |
ServiceLocator.getInstance()
Gets the singleton object of the ServiceLocator. |
static Configurator |
Configurator.create(java.lang.String configFile)
Creates the Configurator with the passed config file name. |
static Configurator |
Configurator.getInstance()
Gets the Configurator using the default config file name if the singleton is not instantiated. |
Constructors in snmp.lib that throw SnmpException | |
ServiceLocator(SnmpAgent agent)
Constructs the ServiceLocator object with the SnmpAgent.. |
|
Configurator(java.lang.String configFile)
Constructs the Configurator with the passed config file name. |
Uses of SnmpException in snmp.lib.util |
Methods in snmp.lib.util that throw SnmpException | |
static Log |
Log.getInstance()
Gets the singleton object of the Log class. |
Constructors in snmp.lib.util that throw SnmpException | |
Log(java.lang.String name)
|
Uses of SnmpException in snmp.mbean |
Methods in snmp.mbean that throw SnmpException | |
void |
MBeanChecker.checkMBeanAttribute(OidRecord rec)
Checks if the existence, permission, and datatype of the OidRecord object match against the corresponding attribute in the MBean class. |
void |
MBeanChecker.checkMBeanClass(OidRecord oidGroup)
Checks if the required MBean class existed in the system for the passed OID group. |
GenericMBean |
MBeanFactory.createMBean(java.lang.String mbeanClassName)
Creates the MBean object dynamically with the class name. |
javax.management.ObjectName |
GenericMBean.getMBeanObjectName()
Gets the ObjectName that maps the MBean in the JMX server. |
private void |
GenericMBean.setup(MBeanMeta mbeanMeta)
|
(package private) static GenericMBean |
GenericMBean.createMBean(java.lang.String mbeanClassName)
Creates the MBean object dynamically with the passed class name. |
private static void |
GenericMBean.loadMBean(GenericMBean mbean)
Loads the MBean object into the JMX MBean server. |
MBeanAttribute |
MBeanMeta.get(java.lang.String identifier,
int accessType)
Gets the MBeanAttribute object that matches to the passed identifier in the MBean. |
MBeanAttribute |
MBeanMeta.set(java.lang.String identifier,
int accessType,
MBeanAttribute attr)
Sets the MBeanAttribute object that matches to the passed identifier into the MBean. |
javax.management.ObjectName |
MBeanMeta.getMBeanObjectName()
Gets the ObjectName of the MBean that associates with the MBeanMeta object. |
(package private) void |
MBeanMeta.setupMBeanMeta(GenericMBean mbean)
Setups the required objects for the MBeanMeta to work properly. |
protected abstract MBeanAttribute |
MBeanMeta.getAttrByOid(java.lang.String oid)
Gets the MBeanAttribute object that matches to the object identifier string in the MBean. |
protected abstract MBeanAttribute |
MBeanMeta.getAttrByName(java.lang.String attr)
Gets the MBeanAttribute object that matches to the attribute name in the MBean. |
protected abstract MBeanAttribute |
MBeanMeta.setAttrByOid(java.lang.String oid,
MBeanAttribute attr)
Sets the MBeanAttribute object that matches to the object identifier string into the MBean. |
protected abstract MBeanAttribute |
MBeanMeta.setAttrByName(java.lang.String oid,
MBeanAttribute attr)
Sets the MBeanAttribute object that matches to the attribute name into the MBean. |
protected MBeanAttribute |
DefaultMBeanMeta.getAttrByOid(java.lang.String oid)
Gets the MBeanAttribute object that matches to the object identifier string in the MBean. |
protected MBeanAttribute |
DefaultMBeanMeta.getAttrByName(java.lang.String attr)
Gets the MBeanAttribute object that matches to the attribute name in the MBean. |
protected MBeanAttribute |
DefaultMBeanMeta.setAttrByOid(java.lang.String oid,
MBeanAttribute attr)
Sets the MBeanAttribute object that matches to the object identifier string into the MBean. |
protected MBeanAttribute |
DefaultMBeanMeta.setAttrByName(java.lang.String name,
MBeanAttribute attr)
Sets the MBeanAttribute object that matches to the attribute name in the MBean. |
private static MBeanAttribute |
DefaultMBeanMeta.getMBeanAttribute(java.lang.String attr,
DefaultMBeanMeta meta)
Gets the MBean attribute value that matches to the attribute name in the MBean. |
private static MBeanAttribute |
DefaultMBeanMeta.setMBeanAttribute(MBeanAttribute attr,
DefaultMBeanMeta meta)
Sets the MBean attribute value that matches to the attribute name into the MBean. |
MBeanAttribute |
SnmpMBean.get(java.lang.String identifier,
int accessType)
Gets the MBeanAttribute object associating to the identifier in the MBean. |
MBeanAttribute |
SnmpMBean.set(java.lang.String identifier,
int accessType,
MBeanAttribute attr)
Sets the MBeanAttribute object associating to the identifier in the MBean. |
Constructors in snmp.mbean that throw SnmpException | |
GenericMBean()
Constructs the GenericMBean object by using the DefaultMBeanMeta class which provides the getter and setter methods to access the MBean attributes. |
|
GenericMBean(MBeanMeta mbeanMeta,
MBeanListener listener,
javax.management.NotificationFilter filter)
Constructs the GenericMMBean object with the passed MBeanMeta object and the notification listener. |
|
MBeanMeta()
The default constructor. |
|
MBeanMeta(GenericMBean mbean)
Constructs the MBeanMeta object that is associated with GenericMBean object. |
|
DefaultMBeanMeta()
The default constructor. |
Uses of SnmpException in snmp.message.datatype |
Methods in snmp.message.datatype that throw SnmpException | |
void |
MySnmpCrawlerObjectId.setSnmpDataValue(java.lang.Object o)
Sets the Java object value into the SnmpSyntax object. |
java.lang.Object |
MySnmpCrawlerObjectId.getJavaDataValue()
Gets the Java object value corresponding to the the SnmpSyntax object. |
void |
MySnmpCrawlerCounter64.setSnmpDataValue(java.lang.Object o)
Sets the Java object value into the SnmpSyntax object. |
java.lang.Object |
MySnmpCrawlerCounter64.getJavaDataValue()
Gets the Java object value corresponding to the the SnmpSyntax object. |
void |
MySnmpCrawlerOpaque.setSnmpDataValue(java.lang.Object o)
Sets the Java object value into the SnmpSyntax object. |
java.lang.Object |
MySnmpCrawlerOpaque.getJavaDataValue()
Gets the Java object value corresponding to the the SnmpSyntax object. |
void |
MySnmpCrawlerGauge32.setSnmpDataValue(java.lang.Object o)
Sets the Java object value into the SnmpSyntax object. |
java.lang.Object |
MySnmpCrawlerGauge32.getJavaDataValue()
Gets the Java object value corresponding to the the SnmpSyntax object. |
SnmpDatatype |
SnmpDatatypeFactory.getSnmpDataType(byte asnType,
java.lang.Object javaValue)
Gets the SnmpDataType object from the prototype object list and sets the Java object value to the SnmpDataType object. |
SnmpDatatype |
SnmpDatatypeFactory.getProtoSnmpDataType(byte asnType)
Gets the prototype object of SnmpDataType. |
void |
MySnmpCrawlerTimeTicks.setSnmpDataValue(java.lang.Object o)
Sets the Java object value into the SnmpSyntax object. |
java.lang.Object |
MySnmpCrawlerTimeTicks.getJavaDataValue()
Gets the Java object value corresponding to the the SnmpSyntax object. |
void |
MySnmpCrawlerIPAddress.setSnmpDataValue(java.lang.Object o)
Sets the Java object value into the SnmpSyntax object. |
java.lang.Object |
MySnmpCrawlerIPAddress.getJavaDataValue()
Gets the Java object value corresponding to the the SnmpSyntax object. |
void |
MySnmpCrawlerCounter32.setSnmpDataValue(java.lang.Object o)
Sets the Java object value into the SnmpSyntax object. |
java.lang.Object |
MySnmpCrawlerCounter32.getJavaDataValue()
Gets the Java object value corresponding to the the SnmpSyntax object. |
void |
MySnmpCrawlerNull.setSnmpDataValue(java.lang.Object o)
Sets the Java object value into the SnmpSyntax object. |
java.lang.Object |
MySnmpCrawlerNull.getJavaDataValue()
Gets the Java object value corresponding to the the SnmpSyntax object. |
void |
MySnmpCrawlerOctetString.setSnmpDataValue(java.lang.Object o)
Sets the Java object value into the SnmpSyntax object. |
java.lang.Object |
MySnmpCrawlerOctetString.getJavaDataValue()
Gets the Java object value corresponding to the the SnmpSyntax object. |
void |
SnmpDatatype.setSnmpDataValue(java.lang.Object o)
Sets the Java object value into the SnmpSyntax object. |
java.lang.Object |
SnmpDatatype.getJavaDataValue()
Gets the Java object value corresponding to the the SnmpSyntax object. |
void |
MySnmpCrawlerInt32.setSnmpDataValue(java.lang.Object o)
Sets the Java object value into the SnmpSyntax object. |
java.lang.Object |
MySnmpCrawlerInt32.getJavaDataValue()
Gets the Java object value corresponding to the the SnmpSyntax object. |
Uses of SnmpException in snmp.message.handler |
Methods in snmp.message.handler that throw SnmpException | |
private void |
SnmpGetRequestHandler.handleGet(SnmpSessionEvent event)
|
private boolean |
SnmpGetRequestHandler.checkError(SnmpSession session)
|
private void |
SnmpSetRequestHandler.handleSet(SnmpSessionEvent event)
|
private boolean |
SnmpSetRequestHandler.checkError(SnmpSession session)
|
protected int |
DefaultSnmpRequestHandler.checkPDU(SnmpPdu snmpPdu)
This method verifies each OID in the PDU to see if it is existed in the MIB database. |
Uses of SnmpException in snmp.message.pdu |
Methods in snmp.message.pdu that throw SnmpException | |
void |
SnmpValue.setMBeanAttribute(MBeanAttribute attr)
Sets the MBeanAttribute object obtained from the MBean and translates the attribute value to the ASN.1 syntax. |
OidRecord |
SnmpOid.getOidRecord()
Gets the OID record from the MIB database matched to the SnmpOid object. |
Uses of SnmpException in snmp.mibdb |
Methods in snmp.mibdb that throw SnmpException | |
OidRecord |
MibDatabaseImpl.getOidRecord(java.lang.String oid)
Retrieves the OidRecord that matches to the passed OID string in the MIB database. |
OidEntity |
MibDatabaseImpl.getOidGroup(java.lang.String oid)
Retrieves the OidEntity object that matches to the passed OID string in the MIB database. |
private void |
MibDatabaseImpl.createDB(net.percederberg.mib.Mib mib)
|
private void |
MibDatabaseImpl.createDB(net.percederberg.mib.symbol.Symbol symbol)
|
static MibDatabase |
MibDatabaseImpl.create(java.lang.String mibFile)
Creates the singleton MibDatabase instance from the passed MIB file. |
static MibDatabase |
MibDatabaseImpl.getInstance()
Gets the singleton MibDatabase instance. |
private static void |
OidEntity.setASNtypeInfo(net.percederberg.mib.symbol.Symbol symbol,
OidEntity.OidEntityMeta meta)
Converts Snmp datatype in the passed symbol to the ASN.1 type. |
abstract OidRecord |
MibDatabase.getOidRecord(java.lang.String oid)
Retrieves the OidRecord that matches to the passed OID string in the MIB database. |
static MibDatabase |
MibDatabase.create(java.lang.String mibFile)
Creates the singleton MibDatabase object from the passed MIB file. |
static MibDatabase |
MibDatabase.getInstance()
Gets the singleton object of the MibDatabase. |
Constructors in snmp.mibdb that throw SnmpException | |
MibDatabaseImpl(java.lang.String mibFile)
Constructs the MIB database using the passed mib file name. |
|
OidEntity(net.percederberg.mib.symbol.Symbol symbol,
MibDatabaseImpl db)
Constructs the OidEntity object with the Symbol object and MibDatabaseImpl object. |
|
OidEntity(OidEntity parent,
net.percederberg.mib.symbol.Symbol symbol,
MibDatabaseImpl db)
Constructs the OidEntity object with the parent Symbol object, the Symbol object, and the MibDatabaseImpl object. |
|
OidEntity.OidEntityMeta(net.percederberg.mib.symbol.Symbol symbol)
|
Uses of SnmpException in snmp.session |
Methods in snmp.session that throw SnmpException | |
void |
SnmpSession.send()
Sends the encapsulated snmpMessage back to the requesting manager. |
protected void |
SnmpSession.processSession()
This method contains the necessary routines to process the current SNMP session. |
Constructors in snmp.session that throw SnmpException | |
SnmpSession(java.net.DatagramSocket socket,
java.net.DatagramPacket packet)
Constructs the new SnmpSession object for the SNMP request. |
Uses of SnmpException in snmp.test.mbeans.demo |
Methods in snmp.test.mbeans.demo that throw SnmpException | |
java.lang.String |
DemoSystem.getSysErrMsg()
Getter for the "SysErrMsg" variable. |
java.lang.Integer |
DemoSystem.getSysFreeMem()
Getter for the "SysFreeMem" variable. |
java.lang.Integer |
DemoSystem.getSysTotalMem()
Getter for the "SysTotalMem" variable. |
java.lang.String |
DemoSystem.getSysHostName()
Getter for the "SysHostName" variable. |
java.lang.String |
DemoSystem.getSysDescr()
Getter for the "SysDescr" variable. |
java.lang.String |
DemoSystem.getSysTest1()
|
void |
DemoSystem.setSysTest1(java.lang.String sysTest1)
|
java.lang.String |
DemoSystem.getSysTest2()
|
void |
DemoSystem.setSysTest2(java.lang.String sysTest2)
|
java.lang.String |
DemoSystem.getSysTest3()
|
void |
DemoSystem.setSysTest3(java.lang.String sysTest3)
|
java.lang.String |
DemoSystemMBean.getSysErrMsg()
Getter for the "SysErrMsg" variable. |
java.lang.Integer |
DemoSystemMBean.getSysFreeMem()
Getter for the "SysFreeMem" variable. |
java.lang.Integer |
DemoSystemMBean.getSysTotalMem()
Getter for the "SysTotalMem" variable. |
java.lang.String |
DemoSystemMBean.getSysHostName()
Getter for the "SysHostName" variable. |
java.lang.String |
DemoSystemMBean.getSysDescr()
Getter for the "SysDescr" variable. |
java.lang.String |
DemoSystemMBean.getSysTest1()
|
void |
DemoSystemMBean.setSysTest1(java.lang.String s)
|
java.lang.String |
DemoSystemMBean.getSysTest2()
|
void |
DemoSystemMBean.setSysTest2(java.lang.String s)
|
java.lang.String |
DemoSystemMBean.getSysTest3()
|
void |
DemoSystemMBean.setSysTest3(java.lang.String s)
|
Constructors in snmp.test.mbeans.demo that throw SnmpException | |
DemoSystem()
|
|
DemoSystemMBeanMeta()
|
|
MySnmpCrawler API | ||||||||||
PREV NEXT | FRAMES NO FRAMES |