
@Deprecated public class MonMain extends Module implements HardwareController
Module.ValueUpdateConfigurable.Environmentname, nObserverThreads, tickMillis| Constructor and Description |
|---|
MonMain(String name,
int tickMillis,
int checkMillis)
Deprecated.
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TreeWalkerDiag |
checkHardware()
Deprecated.
Initializes the hardware.
|
void |
checkStarted()
Deprecated.
Checks whether hardware is started.
|
void |
checkStopped()
Deprecated.
Checks whether hardware is stopped.
|
MonMainFullState |
getFullState()
Deprecated.
Gets the full state of the monitoring module.
|
void |
initModule()
Deprecated.
Initializes the subsystem.
|
void |
postStart()
Deprecated.
Starts the subsystem.
|
void |
saveConfig()
Deprecated.
Saves the configuration data.
|
void |
setTickMillis(int value)
Deprecated.
Sets the tick period.
|
void |
tick()
Deprecated.
Performs periodic trending data broadcast.
|
getNObserverThreads, getObservables, getTickMillis, init, listens, processUpdate, setNObserverThreads, setObservables, shutdownNow, startTicking, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, printConfigurableParameters, setBulkParameter, submitChange, submitChanges, validateBulkChangesetParameterBulkpostInit, postShutdown, startsendSignal, sendSignalWithTimeLimit, signalgetComponentConfigurationEnvironment, getComponentLookup, getName, getSubsystempublic MonMain(String name, int tickMillis, int checkMillis)
name - The subsystem name.tickMillis - The tick period (ms).checkMillis - The hardware check period (ms).public void initModule()
initModule in class Modulepublic TreeWalkerDiag checkHardware()
checkHardware in interface HardwareControllerpublic void checkStarted()
checkStarted in interface HardwareControllerpublic void checkStopped()
checkStopped in interface HardwareControllerpublic void postStart()
throws HardwareException
postStart in interface HasLifecycleHardwareExceptionpublic void tick()
@Command(type=ACTION, description="Set the tick interval") public void setTickMillis(int value)
setTickMillis in class Modulevalue - The tick period (milliseconds) to set.@Command(type=ACTION, description="Save the current configuration") public void saveConfig() throws IOException
IOException@Command(type=QUERY, description="Get the full generic monitoring state") public MonMainFullState getFullState()
Copyright © 2017 LSST. All rights reserved.