Package xal.ca

Interface ChannelSystem

All Known Implementing Classes:
Epics7ChannelSystem, Epics7ServerChannelSystem

public interface ChannelSystem
ChannelSystem is a wrapper for static methods of Channel subclasses that are public and should be generally visible. This is necessary since there is no abstract static method construct in Java. A subclass of ChannelSystem will handle the request as appropriate by calling static methods of the target Channel subclass.
Author:
tap
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    flush requests to the server
    void
    pendEvent(double timeout)
    Schedule the queued requests with the specified timeout
    boolean
    pendIO(double timeout)
    Schedule an IO request with the specified timeout
    void
    Print information about this system
    void
    setDebugMode(boolean debugFlag)
    Set the debug mode of the channel system.
  • Method Details

    • setDebugMode

      void setDebugMode(boolean debugFlag)
      Set the debug mode of the channel system.
      Parameters:
      debugFlag - True to enable debug mode and false to disable debug mode.
    • flushIO

      void flushIO()
      flush requests to the server
    • pendIO

      boolean pendIO(double timeout)
      Schedule an IO request with the specified timeout
      Parameters:
      timeout - the maximum time to wait for a successful pend IO
      Returns:
      true upon success and false upon failure
    • pendEvent

      void pendEvent(double timeout)
      Schedule the queued requests with the specified timeout
      Parameters:
      timeout - the maximum time to wait for successful handling of the request
    • printInfo

      void printInfo()
      Print information about this system