
public abstract class Control extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
description
Data fields.
|
protected Device |
devc |
protected int |
hwChan |
protected Logger |
log |
protected Monitor |
mon |
| Constructor and Description |
|---|
Control() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkOnline()
Checks the online state.
|
protected void |
checkTimeout(Exception e,
Class<?> eClass)
Checks whether exception is a timeout.
|
protected void |
configure(Monitor mon,
Device devc)
Configures common part of control channel.
|
String |
getDescription()
Gets the channel description.
|
int |
getHwChan()
Gets the hardware channel number.
|
protected boolean |
testOnline()
Tests the online state.
|
protected String description
protected int hwChan
protected Device devc
protected Monitor mon
protected Logger log
protected void configure(Monitor mon, Device devc)
mon - The associated monitordevc - The associated devicepublic String getDescription()
public int getHwChan()
protected void checkOnline()
protected boolean testOnline()
protected void checkTimeout(Exception e, Class<?> eClass) throws Exception
e - The exception to be checked.eClass - The class of the exception to be thrown.ExceptionCopyright © 2017 LSST. All rights reserved.