Class EDataConnectorDD

java.lang.Object
org.scictrl.mp.orbitcorrect.epics.EAbstractDataConnector<Double[]>
org.scictrl.mp.orbitcorrect.epics.EDataConnectorDD
All Implemented Interfaces:
IDataConnector<Double[]>

public class EDataConnectorDD extends EAbstractDataConnector<Double[]>

EDataConnectorDD class.

Author:
igor@scictrl.com
  • Constructor Details

  • Method Details

    • destroy

      public void destroy()
      Destroys remote connection and release all relevant resources.
    • get

      public Double[] get() throws Exception
      Gets value from remote data source and returns it.
      Returns:
      value from remote data source.
      Throws:
      Exception - if remote get fails
    • getLatestReceivedValue

      public Double[] getLatestReceivedValue()
      Returns latest position delivered to the connector by way of event updates.
      Returns:
      lates data update value
    • test

      public boolean test()
      Tests connection and device if it is in usable state. This may include making remote calls and checking remote status or other values.
      Returns:
      true if connector can be used
    • isReady

      public boolean isReady()
      A quick tests of connection and device by examining locally available data. It is suppose to be lightweight method, avoiding making remote calls and should exit quickly.
      Returns:
      true if connector can be used
    • getFormat

      public String getFormat() throws ControlSystemException

      getFormat.

      Returns:
      a String object
      Throws:
      ControlSystemException - if any.
    • getLatestReceivedTimestamp

      public long getLatestReceivedTimestamp()

      getLatestReceivedTimestamp.

      Returns:
      a long
    • getName

      public String getName()

      getName.

      Returns:
      a String object
    • getMaxValue

      public double getMaxValue() throws ControlSystemException

      getMaxValue.

      Returns:
      a double
      Throws:
      ControlSystemException - if any.
    • getMinValue

      public double getMinValue() throws ControlSystemException
      getMinValue method comment.
      Returns:
      a double
      Throws:
      ControlSystemException - if any.
    • getConnections

      public org.scictrl.csshell.epics.EPICSConnection<Double>[] getConnections()

      Getter for the field connections.

      Returns:
      an array of EPICSConnection objects