|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.snmp.snmp2.agent.SystemGroupInstrument
This class is the implementation for the SystemGroup. By default, it only returns default values for the SystemGroup variables. The user has to extend this class and override the methods to get the values .
| Field Summary | |
(package private) SystemGroupInstrument |
listener
|
protected java.lang.String |
sysContact
The sysContact variable |
protected java.lang.String |
sysDescr
The sysDescr variable |
protected java.lang.String |
sysLocation
The sysLocation variable |
protected java.lang.String |
sysName
The sysName variable |
protected java.lang.String |
sysObjectID
The sysObjectID variable |
protected java.lang.Integer |
sysServices
The sysServices variable |
protected java.lang.Long |
sysUpTime
The sysUpTime variable |
| Constructor Summary | |
SystemGroupInstrument()
Default constructor. |
|
| Method Summary | |
void |
addSystemGroupListener(SystemGroupInstrument listener)
This method adds the user implemented class as the SystemGroupInstrument instead of the dafult implementation. |
java.lang.String |
getSysContact()
Handles the SNMP Get Request for sysContact |
java.lang.String |
getSysDescr()
Handles the SNMP Get Request for sysDescr |
java.lang.String |
getSysLocation()
Handles the SNMP Get Request for sysLocation |
java.lang.String |
getSysName()
Handles the SNMP Get Request for sysName |
java.lang.String |
getSysObjectID()
Handles the SNMP Get Request for sysObjectID |
java.lang.Long |
getSysORLastChange()
Handles the SNMP Get Request for sysORLastChange |
java.lang.Integer |
getSysServices()
Handles the SNMP Get Request for sysServices |
java.lang.Long |
getSysUpTime()
Handles the SNMP Get Request for sysUpTime |
void |
setSysContact(java.lang.String value)
Handles the SNMP Set Request for sysContact |
void |
setSysDescr(java.lang.String value)
Handles the SNMP Set Request for sysDescr |
void |
setSysLocation(java.lang.String value)
Handles the SNMP Set Request for sysLocation |
void |
setSysName(java.lang.String value)
Handles the SNMP Set Request for sysName |
void |
setSysObjectID(java.lang.String value)
Handles the SNMP Set Request for sysObjectID |
void |
setSysORLastChange(java.lang.Long value)
Handles the SNMP Set Request for sysORLastChange |
void |
setSysServices(java.lang.Integer value)
Handles the SNMP Set Request for sysServices |
void |
setSysUpTime(java.lang.Long value)
Handles the SNMP Set Request for sysUpTime |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected java.lang.String sysDescr
protected java.lang.String sysObjectID
protected java.lang.Long sysUpTime
protected java.lang.String sysContact
protected java.lang.String sysName
protected java.lang.String sysLocation
protected java.lang.Integer sysServices
SystemGroupInstrument listener
| Constructor Detail |
public SystemGroupInstrument()
| Method Detail |
public void addSystemGroupListener(SystemGroupInstrument listener)
throws AgentException
public java.lang.String getSysDescr()
throws AgentException
public void setSysDescr(java.lang.String value)
throws AgentException
value - the String value to be set
public java.lang.String getSysObjectID()
throws AgentException
public void setSysObjectID(java.lang.String value)
throws AgentException
value - the String value to be set
public java.lang.Long getSysUpTime()
throws AgentException
public void setSysUpTime(java.lang.Long value)
throws AgentException
value - the Long value to be set
public java.lang.String getSysContact()
throws AgentException
public void setSysContact(java.lang.String value)
throws AgentException
value - the String value to be set
public java.lang.String getSysName()
throws AgentException
public void setSysName(java.lang.String value)
throws AgentException
value - the String value to be set
public java.lang.String getSysLocation()
throws AgentException
public void setSysLocation(java.lang.String value)
throws AgentException
value - the String value to be set
public java.lang.Integer getSysServices()
throws AgentException
public void setSysServices(java.lang.Integer value)
throws AgentException
value - the Value to be set
public java.lang.Long getSysORLastChange()
throws AgentException
public final void setSysORLastChange(java.lang.Long value)
throws AgentException
value - the Value to be set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||