Class EpicsChannelMonitorRequest

java.lang.Object
ch.psi.wica.controlsystem.epics.monitor.EpicsChannelMonitorRequest

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

    • EpicsChannelMonitorRequest

      public EpicsChannelMonitorRequest(WicaChannel wicaChannel)
      Creates a new instance to request the monitoring of the specified Wica channel.
      Parameters:
      wicaChannel - the channel.
    • EpicsChannelMonitorRequest

      EpicsChannelMonitorRequest(EpicsChannelName epicsChannelName, WicaChannel publicationChannel)
      Creates a new instance which requests the monitoring of the specified EPICS channel name and publication on the specified Wica Channel.
      Parameters:
      epicsChannelName - the EPICS channel name.
      publicationChannel - the channel.
  • Method Details

    • getAsMetadataRequest

      public EpicsChannelMetadataRequest getAsMetadataRequest()
    • getEpicsChannelName

      public EpicsChannelName getEpicsChannelName()
      Returns the EPICS channel name associated with this request.
      Returns:
      the channel name.
    • getPublicationChannel

      public WicaChannel getPublicationChannel()
      Returns the Wica channel associated with this request.
      Returns:
      the Wica 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