Class Epics7ChannelSystem

java.lang.Object
xal.plugin.epics7.Epics7ChannelSystem
All Implemented Interfaces:
ChannelSystem
Direct Known Subclasses:
Epics7ServerChannelSystem

public class Epics7ChannelSystem extends Object implements ChannelSystem
Author:
Juan F. Esteban Müller <JuanF.EstebanMuller@ess.eu>
  • Field Details

    • initialized

      protected volatile boolean initialized
  • Constructor Details

    • Epics7ChannelSystem

      protected Epics7ChannelSystem()
  • Method Details

    • getCaChannelProvider

      protected org.epics.pvaccess.client.ChannelProvider getCaChannelProvider()
    • getPvaChannelProvider

      protected org.epics.pvaccess.client.ChannelProvider getPvaChannelProvider()
    • newEpics7ChannelSystem

      protected static Epics7ChannelSystem newEpics7ChannelSystem()
    • initialize

      protected void initialize()
    • loadConfig

      public static final void loadConfig(boolean isServer)
      This method preloads the JCA and PVA configuration. It takes the configuration from Preferences or from environment variables, in that precedence order. It ignores the jca.use_env property and the JCALibrary file.
      Parameters:
      isServer - if server configuration has to be loaded.
    • setDebugMode

      public void setDebugMode(boolean debugFlag)
      Description copied from interface: ChannelSystem
      Set the debug mode of the channel system.
      Specified by:
      setDebugMode in interface ChannelSystem
      Parameters:
      debugFlag - True to enable debug mode and false to disable debug mode.
    • flushIO

      public void flushIO()
      Description copied from interface: ChannelSystem
      flush requests to the server
      Specified by:
      flushIO in interface ChannelSystem
    • pendIO

      public boolean pendIO(double timeout)
      Description copied from interface: ChannelSystem
      Schedule an IO request with the specified timeout
      Specified by:
      pendIO in interface ChannelSystem
      Parameters:
      timeout - the maximum time to wait for a successful pend IO
      Returns:
      true upon success and false upon failure
    • pendEvent

      public void pendEvent(double timeout)
      Description copied from interface: ChannelSystem
      Schedule the queued requests with the specified timeout
      Specified by:
      pendEvent in interface ChannelSystem
      Parameters:
      timeout - the maximum time to wait for successful handling of the request
    • printInfo

      public void printInfo()
      Description copied from interface: ChannelSystem
      Print information about this system
      Specified by:
      printInfo in interface ChannelSystem
    • isInitialized

      public boolean isInitialized()
    • dispose

      public void dispose()