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 TypeMethodDescriptionvoid
start the monitorvoid
dispose()
Dispose of the channelGet the channelGet the latest recordboolean
determine whether the channel is connectedboolean
isValid()
determine whether the channel is valid (has a record and is connected)void
setDelegate
(xal.extension.scan.ScanChannelMonitorDelegate delegate) set the delegatevoid
start()
start the monitorvoid
stop()
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
-