
public class Alarm extends ConfigurableComponent implements HasLifecycle
Configurable.Environment| Modifier and Type | Field and Description |
|---|---|
static int |
EVENT_LIMBO
Constants.
|
static int |
EVENT_RESET
Constants.
|
static int |
EVENT_TRIP
Constants.
|
| Constructor and Description |
|---|
Alarm()
The empty constructor.
|
Alarm(String lineName,
int eventParm)
Deprecated.
|
Alarm(String description,
String lineName,
int eventParm)
Deprecated.
To be removed if not needed internally, in which case
it should not be public.
|
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Called from the enclosing
Subsystem at construction
phase. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostInit, postStart, shutdownNow, startchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, printConfigurableParameters, setBulkParameter, submitChange, submitChanges, validateBulkChangesetParameterBulkgetComponentConfigurationEnvironment, getComponentLookup, getName, getSubsystempublic static final int EVENT_TRIP
public static final int EVENT_LIMBO
public static final int EVENT_RESET
public Alarm()
@Deprecated public Alarm(String description, String lineName, int eventParm)
description - The alarm descriptionlineName - The name of the associated line, or nulleventParm - The parameter to be passed to the alarm handler,
or -1 if no handler@Deprecated public Alarm(String lineName, int eventParm)
lineName - The name of the associated line, or nulleventParm - The parameter to be passed to the alarm handler,
or -1 if no handlerpublic void init()
HasLifecycleSubsystem at construction
phase. This method is called before the children components of this
object have their init method called.
At the time it is called, connection to the messaging layer is not yet
done, so there should be no attempt to send messages in the body of
this method. Configuration for message listening can nevertheless be
done here, such as adding MessageListener
objects.
It is unnecessary to call super.init()
init in interface HasLifecycleCopyright © 2017 LSST. All rights reserved.