MySnmpCrawler API

snmp.test.mbeans.demo
Class DemoSystem

java.lang.Object
  |
  +--javax.management.NotificationBroadcasterSupport
        |
        +--snmp.mbean.GenericMBean
              |
              +--snmp.test.mbeans.demo.DemoSystem
All Implemented Interfaces:
DemoSystemMBean, javax.management.NotificationBroadcaster, java.io.Serializable

public class DemoSystem
extends GenericMBean
implements DemoSystemMBean, java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.management.NotificationBroadcasterSupport
 
Field Summary
protected  java.lang.String sysDescr
          Variable for storing the value of "SysDescr".
protected  java.lang.String sysErrMsg
          Variable for storing the value of "SysErrMsg".
protected  java.lang.Integer sysFreeMem
          Variable for storing the value of "SysFreeMem".
protected  java.lang.String sysHostName
          Variable for storing the value of "SysHostName".
protected  java.lang.String sysTest1
          Variable for storing the value of "sysTest1".
protected  java.lang.String sysTest2
          Variable for storing the value of "sysTest1".
private  java.lang.String sysTest3
          Variable for storing the value of "sysTest1".
protected  java.lang.Integer sysTotalMem
          Variable for storing the value of "SysTotalMem".
 
Fields inherited from class snmp.mbean.GenericMBean
 
Fields inherited from class javax.management.NotificationBroadcasterSupport
 
Constructor Summary
DemoSystem()
           
 
Method Summary
 java.lang.String getSysDescr()
          Getter for the "SysDescr" variable.
 java.lang.String getSysErrMsg()
          Getter for the "SysErrMsg" variable.
 java.lang.Integer getSysFreeMem()
          Getter for the "SysFreeMem" variable.
 java.lang.String getSysHostName()
          Getter for the "SysHostName" variable.
 java.lang.String getSysTest1()
           
 java.lang.String getSysTest2()
           
 java.lang.String getSysTest3()
           
 java.lang.Integer getSysTotalMem()
          Getter for the "SysTotalMem" variable.
private  void init()
           
 void setSysTest1(java.lang.String sysTest1)
           
 void setSysTest2(java.lang.String sysTest2)
           
 void setSysTest3(java.lang.String sysTest3)
           
 
Methods inherited from class snmp.mbean.GenericMBean
addNotificationListener, getMBeanClassName, getMBeanMeta, getMBeanObjectName, sendAttrChangeNotification
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sysTest3

private java.lang.String sysTest3
Variable for storing the value of "sysTest1". The variable is identified by: "1.3.6.1.4.1.8080.1.1.6".


sysTest2

protected java.lang.String sysTest2
Variable for storing the value of "sysTest1". The variable is identified by: "1.3.6.1.4.1.8080.1.1.6".


sysTest1

protected java.lang.String sysTest1
Variable for storing the value of "sysTest1". The variable is identified by: "1.3.6.1.4.1.8080.1.1.6".


sysErrMsg

protected java.lang.String sysErrMsg
Variable for storing the value of "SysErrMsg". The variable is identified by: "1.3.6.1.4.1.8080.1.1.5".


sysFreeMem

protected java.lang.Integer sysFreeMem
Variable for storing the value of "SysFreeMem". The variable is identified by: "1.3.6.1.4.1.8080.1.1.4".


sysTotalMem

protected java.lang.Integer sysTotalMem
Variable for storing the value of "SysTotalMem". The variable is identified by: "1.3.6.1.4.1.8080.1.1.3".


sysHostName

protected java.lang.String sysHostName
Variable for storing the value of "SysHostName". The variable is identified by: "1.3.6.1.4.1.8080.1.1.2".


sysDescr

protected java.lang.String sysDescr
Variable for storing the value of "SysDescr". The variable is identified by: "1.3.6.1.4.1.8080.1.1.1".

Constructor Detail

DemoSystem

public DemoSystem()
           throws SnmpException
Method Detail

init

private void init()

getSysErrMsg

public java.lang.String getSysErrMsg()
                              throws SnmpException
Getter for the "SysErrMsg" variable.

Specified by:
getSysErrMsg in interface DemoSystemMBean
SnmpException

getSysFreeMem

public java.lang.Integer getSysFreeMem()
                                throws SnmpException
Getter for the "SysFreeMem" variable.

Specified by:
getSysFreeMem in interface DemoSystemMBean
SnmpException

getSysTotalMem

public java.lang.Integer getSysTotalMem()
                                 throws SnmpException
Getter for the "SysTotalMem" variable.

Specified by:
getSysTotalMem in interface DemoSystemMBean
SnmpException

getSysHostName

public java.lang.String getSysHostName()
                                throws SnmpException
Getter for the "SysHostName" variable.

Specified by:
getSysHostName in interface DemoSystemMBean
SnmpException

getSysDescr

public java.lang.String getSysDescr()
                             throws SnmpException
Getter for the "SysDescr" variable.

Specified by:
getSysDescr in interface DemoSystemMBean
SnmpException

getSysTest1

public java.lang.String getSysTest1()
                             throws SnmpException
Specified by:
getSysTest1 in interface DemoSystemMBean
SnmpException

setSysTest1

public void setSysTest1(java.lang.String sysTest1)
                 throws SnmpException
Specified by:
setSysTest1 in interface DemoSystemMBean
SnmpException

getSysTest2

public java.lang.String getSysTest2()
                             throws SnmpException
Specified by:
getSysTest2 in interface DemoSystemMBean
SnmpException

setSysTest2

public void setSysTest2(java.lang.String sysTest2)
                 throws SnmpException
Specified by:
setSysTest2 in interface DemoSystemMBean
SnmpException

getSysTest3

public java.lang.String getSysTest3()
                             throws SnmpException
Specified by:
getSysTest3 in interface DemoSystemMBean
SnmpException

setSysTest3

public void setSysTest3(java.lang.String sysTest3)
                 throws SnmpException
Specified by:
setSysTest3 in interface DemoSystemMBean
SnmpException

MySnmpCrawler API