Methods Summary |
---|
public void | addModelLcd(SnmpSubSystem sys, int id, SnmpModelLcd lcd)Adds an Lcd model.
SubSysLcdManager subsys = (SubSysLcdManager) subs.get(sys);
if( subsys == null ) {
subsys = new SubSysLcdManager();
subs.put(sys, subsys);
}
subsys.addModelLcd(id, lcd);
|
public abstract int | getEngineBoots()Returns the number of time the engine rebooted.
|
public abstract java.lang.String | getEngineId()Returns the engine Id located in the Lcd.
|
public SnmpModelLcd | getModelLcd(SnmpSubSystem sys, int id)Gets an Lcd model.
SubSysLcdManager subsys = (SubSysLcdManager) subs.get(sys);
if(subsys == null) return null;
return (SnmpModelLcd) subsys.getModelLcd(id);
|
public void | removeModelLcd(SnmpSubSystem sys, int id)Removes an Lcd model.
SubSysLcdManager subsys = (SubSysLcdManager) subs.get(sys);
if( subsys != null ) {
SnmpModelLcd lcd = subsys.removeModelLcd(id);
if(lcd == null) {
throw new SnmpUnknownModelLcdException("Model : " + id);
}
}
else
throw new SnmpUnknownSubSystemException(sys.toString());
|
public abstract void | storeEngineBoots(int i)Persists the number of reboots.
|
public abstract void | storeEngineId(com.sun.jmx.snmp.SnmpEngineId id)Persists the engine Id.
|