Class EpicsChannelPollerRequest

java.lang.Object
ch.psi.wica.controlsystem.epics.poller.EpicsChannelPollerRequest

@Immutable public class EpicsChannelPollerRequest extends Object
Value object providing the specification for polling an EPICS channel.
  • Constructor Details

    • EpicsChannelPollerRequest

      public EpicsChannelPollerRequest(WicaChannel wicaChannel)
      Creates a new instance which will poll the EPICS channel using the properties associated with the supplied Wica Channel.
      Parameters:
      wicaChannel - the channel to poll.
    • EpicsChannelPollerRequest

      EpicsChannelPollerRequest(EpicsChannelName epicsChannelName, int pollingIntervalInMillis, WicaChannel wicaChannel)
      Creates a new instance that will poll the specified EPICS channel at the specified rate and publish the obtained values on the specified Wica Channel.
      Parameters:
      epicsChannelName - the name of the EPICS channel to be polled.
      pollingIntervalInMillis - the polling interval.
      wicaChannel - the Wica channel on which publication will take place.
  • Method Details

    • getAsMetadataRequest

      public EpicsChannelMetadataRequest getAsMetadataRequest()
    • getEpicsChannelName

      public EpicsChannelName getEpicsChannelName()
      Returns the channel name.
      Returns:
      the name.
    • getPollingInterval

      public int getPollingInterval()
      Returns the polling interval.
      Returns:
      the polling interval
    • getPublicationChannel

      public WicaChannel getPublicationChannel()
      Returns the Wica publication channel.
      Returns:
      the publication channel.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object