
public class Line extends Object implements HasLifecycle
| Modifier and Type | Field and Description |
|---|---|
protected int |
chan |
protected int |
compChan |
protected String |
compDevcName |
protected String |
devcName
Data fields.
|
protected Monitor |
mon |
protected String |
name |
| Constructor and Description |
|---|
Line() |
| Modifier and Type | Method and Description |
|---|---|
int |
getChannel()
Gets the channel number.
|
int |
getCompChannel()
Gets the complementary channel number.
|
Device |
getCompDevice()
Gets the complementary device.
|
Device |
getDevice()
Gets the device.
|
Monitor |
getMonitor()
Gets the monitor.
|
String |
getName()
Gets the name.
|
void |
init()
Called from the enclosing
Subsystem at initialization
phase. |
Boolean |
isSet()
Gets the line value.
|
void |
set(boolean on)
Sets the line value.
|
void |
setWarm(boolean on)
Sets the warm-start state of the line.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuild, postBuild, postInit, postShutdown, postStart, shutdown, startprotected String devcName
protected int chan
protected String compDevcName
protected int compChan
@LookupName protected String name
@LookupField(strategy=TREE) protected Monitor mon
public void init()
HasLifecycleSubsystem at initialization
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 HasLifecyclepublic void setWarm(boolean on)
on - True to set the warm-start state, false to clear it.public void set(boolean on)
on - True to set the line, false to clear it.public Boolean isSet()
public String getName()
public Monitor getMonitor()
public Device getDevice()
public Device getCompDevice()
public int getChannel()
public int getCompChannel()
Copyright © 2019 LSST. All rights reserved.