public class ScanChannelMonitor
extends java.lang.Object
Constructor and Description |
---|
ScanChannelMonitor(Channel channel)
Constructor with null delegate
|
ScanChannelMonitor(Channel channel,
xal.extension.scan.ScanChannelMonitorDelegate delegate)
Constructor
|
ScanChannelMonitor(Channel channel,
xal.extension.scan.ScanChannelMonitorDelegate delegate,
boolean requestEvents)
Primary Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
createMonitor()
start the monitor
|
void |
dispose()
Dispose of the channel
|
Channel |
getChannel()
Get the channel
|
ChannelTimeRecord |
getLatestRecord()
Get the latest record
|
boolean |
isConnected()
determine whether the channel is connected
|
boolean |
isValid()
determine whether the channel is valid (has a record and is connected)
|
void |
setDelegate(xal.extension.scan.ScanChannelMonitorDelegate delegate)
set the delegate
|
void |
start()
start the monitor
|
void |
stop()
stop the monitor
|
public ScanChannelMonitor(Channel channel)
public ScanChannelMonitor(Channel channel, xal.extension.scan.ScanChannelMonitorDelegate delegate)
public ScanChannelMonitor(Channel channel, xal.extension.scan.ScanChannelMonitorDelegate delegate, boolean requestEvents)
public Channel getChannel()
public void setDelegate(xal.extension.scan.ScanChannelMonitorDelegate delegate)
public boolean isConnected()
public boolean isValid()
public ChannelTimeRecord getLatestRecord()
public void stop()
public void start()
public void createMonitor()
public void dispose()