Class Epics7ChannelFactory

java.lang.Object
xal.ca.ChannelFactory
xal.plugin.epics7.Epics7ChannelFactory

public class Epics7ChannelFactory extends ChannelFactory
NOTE: previous implementations kept a cache of native channels, but that is not required since ChannelFactory keeps a list of Open XAL Channels, which can create only 1 native channel each. TODO: test if it works when connecting to 2 different fields of the same PV.
Author:
Juan F. Esteban Müller <JuanF.EstebanMuller@ess.eu>
  • Constructor Details

    • Epics7ChannelFactory

      public Epics7ChannelFactory()
  • Method Details

    • init

      public boolean init()
      This method does not perform any action, it only returns true if the system has been initialized.
      Specified by:
      init in class ChannelFactory
      Returns:
    • dispose

      protected void dispose()
      Specified by:
      dispose in class ChannelFactory
    • newChannel

      protected Channel newChannel(String signalName)
      Description copied from class: ChannelFactory
      Create a concrete channel which makes an appropriate low level channel
      Specified by:
      newChannel in class ChannelFactory
      Parameters:
      signalName - PV for which to create a new channel
      Returns:
      a new channel for the specified signal name
    • channelSystem

      protected ChannelSystem channelSystem()
      Description copied from class: ChannelFactory
      Get the associated channel system from the channel factory implementation.
      Specified by:
      channelSystem in class ChannelFactory
      Returns:
      The channel system
    • printInfo

      public void printInfo()
      Description copied from class: ChannelFactory
      Print information about this factory
      Specified by:
      printInfo in class ChannelFactory