Package xal.extension.scan
Class ScanChannelMonitor
java.lang.Object
xal.extension.scan.ScanChannelMonitor
ScanChannelMonitor
-
Constructor Summary
ConstructorsConstructorDescriptionScanChannelMonitor(Channel channel) Constructor with null delegateScanChannelMonitor(Channel channel, xal.extension.scan.ScanChannelMonitorDelegate delegate) ConstructorScanChannelMonitor(Channel channel, xal.extension.scan.ScanChannelMonitorDelegate delegate, boolean requestEvents) Primary Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidstart the monitorvoiddispose()Dispose of the channelGet the channelGet the latest recordbooleandetermine whether the channel is connectedbooleanisValid()determine whether the channel is valid (has a record and is connected)voidsetDelegate(xal.extension.scan.ScanChannelMonitorDelegate delegate) set the delegatevoidstart()start the monitorvoidstop()stop the monitor
-
Constructor Details
-
ScanChannelMonitor
Constructor with null delegate -
ScanChannelMonitor
Constructor -
ScanChannelMonitor
public ScanChannelMonitor(Channel channel, xal.extension.scan.ScanChannelMonitorDelegate delegate, boolean requestEvents) Primary Constructor
-
-
Method Details
-
getChannel
Get the channel -
setDelegate
public void setDelegate(xal.extension.scan.ScanChannelMonitorDelegate delegate) set the delegate -
isConnected
public boolean isConnected()determine whether the channel is connected -
isValid
public boolean isValid()determine whether the channel is valid (has a record and is connected) -
getLatestRecord
Get the latest record -
stop
public void stop()stop the monitor -
start
public void start()start the monitor -
createMonitor
public void createMonitor()start the monitor -
dispose
public void dispose()Dispose of the channel
-