com.caucho.server.snmp
Class SnmpAdmin

java.lang.Object
  extended by com.caucho.management.server.AbstractManagedObject
      extended by com.caucho.server.snmp.SnmpAdmin
All Implemented Interfaces:
ManagedObjectMXBean

public class SnmpAdmin
extends AbstractManagedObject


Constructor Summary
SnmpAdmin(java.lang.String host, int port)
           
 
Method Summary
 void addAttribute(Oid attr)
           
 Oid getAttribute(java.lang.String s)
           
 java.lang.String getName()
          The JMX name property of the mbean.
 java.lang.String getSysContact()
           
 java.lang.String getSysDescr()
           
 java.lang.String getSysLocation()
           
 java.lang.String getSysName()
           
 int getSysServices()
           
 long getSysUpTime()
           
 void setSysContact(java.lang.String sysContact)
           
 void setSysLocation(java.lang.String sysLocation)
           
 java.lang.String sysObjectID()
           
 
Methods inherited from class com.caucho.management.server.AbstractManagedObject
addObjectNameProperties, getObjectName, getType, registerSelf, toString, unregisterSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SnmpAdmin

public SnmpAdmin(java.lang.String host,
                 int port)
Method Detail

addAttribute

public void addAttribute(Oid attr)

getAttribute

public Oid getAttribute(java.lang.String s)

getName

public java.lang.String getName()
Description copied from class: AbstractManagedObject
The JMX name property of the mbean.

Specified by:
getName in interface ManagedObjectMXBean
Specified by:
getName in class AbstractManagedObject

getSysDescr

public java.lang.String getSysDescr()

sysObjectID

public java.lang.String sysObjectID()

getSysUpTime

public long getSysUpTime()

getSysContact

public java.lang.String getSysContact()

setSysContact

public void setSysContact(java.lang.String sysContact)

getSysName

public java.lang.String getSysName()

getSysLocation

public java.lang.String getSysLocation()

setSysLocation

public void setSysLocation(java.lang.String sysLocation)

getSysServices

public int getSysServices()