Class EpicsChannelEventPublisher

java.lang.Object
ch.psi.wica.controlsystem.event.channel.EpicsChannelEventPublisher

@Component public class EpicsChannelEventPublisher extends Object
Provides the functionality to publish EPICS channel events.
  • Constructor Details

    • EpicsChannelEventPublisher

      public EpicsChannelEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
      Constructs a new instance.
      Parameters:
      applicationEventPublisher - the application event publisher.
  • Method Details

    • publishFirstConnected

      public void publishFirstConnected(String scope, org.epics.ca.Channel<Object> caChannel)
      Publishes an event to indicate that the specified channel has been connected for the first time.
      Parameters:
      scope - the scope.
      caChannel - the channel.
    • publishChannelConnected

      public void publishChannelConnected(String scope, org.epics.ca.Channel<Object> caChannel)
      Publishes an event to indicate that the specified channel has been connected.
      Parameters:
      scope - the scope.
      caChannel - the channel.
    • publishChannelDisconnected

      public void publishChannelDisconnected(String scope, org.epics.ca.Channel<Object> caChannel)
      Publishes an event to indicate that the specified channel has been disconnected.
      Parameters:
      scope - the scope.
      caChannel - the channel.