Class WrappedChannel

java.lang.Object
xal.extension.scan.MonitoredPV
xal.extension.scan.WrappedChannel

public class WrappedChannel extends MonitoredPV
The wrapper around ca channel class. This wrapper can be used as container for connection, set and get value listeners for the ca channel class. It also try to connect each 60 second (after startMonitor() call) if connection never been set or has been lost. Important: You have to call stopMonitor() if you want the instance will be collected by Garbage Collector! Otherwise it will be a memory leak!!!
Author:
shishlo, tap created September 18, 2006
  • Constructor Details

    • WrappedChannel

      public WrappedChannel()
      Constructor for the WrappedChannel object
    • WrappedChannel

      public WrappedChannel(String channelName)
      Constructor for the WrappedChannel object
      Parameters:
      channelName - The Parameter
  • Method Details

    • setValue

      public void setValue(double value)
      Sets the value of the channel of the WrappedChannel object
      Parameters:
      value - The new value