public class SnmpAdmin extends AbstractManagedObject
Constructor and Description |
---|
SnmpAdmin(java.lang.String host,
int port) |
Modifier and Type | Method and Description |
---|---|
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() |
addObjectNameProperties, getObjectName, getType, registerSelf, toString, unregisterSelf
public void addAttribute(Oid attr)
public Oid getAttribute(java.lang.String s)
public java.lang.String getName()
AbstractManagedObject
getName
in interface ManagedObjectMXBean
getName
in class AbstractManagedObject
public java.lang.String getSysDescr()
public java.lang.String sysObjectID()
public long getSysUpTime()
public java.lang.String getSysContact()
public void setSysContact(java.lang.String sysContact)
public java.lang.String getSysName()
public java.lang.String getSysLocation()
public void setSysLocation(java.lang.String sysLocation)
public int getSysServices()