Class EpicsChannelEventPublisher
java.lang.Object
ch.psi.wica.controlsystem.event.channel.EpicsChannelEventPublisher
Provides the functionality to publish EPICS channel events.
-
Constructor Summary
ConstructorsConstructorDescriptionEpicsChannelEventPublisher
(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
publishChannelConnected
(String scope, org.epics.ca.Channel<Object> caChannel) Publishes an event to indicate that the specified channel has been connected.void
publishChannelDisconnected
(String scope, org.epics.ca.Channel<Object> caChannel) Publishes an event to indicate that the specified channel has been disconnected.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.
-
Constructor Details
-
EpicsChannelEventPublisher
public EpicsChannelEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) Constructs a new instance.- Parameters:
applicationEventPublisher
- the application event publisher.
-
-
Method Details
-
publishFirstConnected
Publishes an event to indicate that the specified channel has been connected for the first time.- Parameters:
scope
- the scope.caChannel
- the channel.
-
publishChannelConnected
Publishes an event to indicate that the specified channel has been connected.- Parameters:
scope
- the scope.caChannel
- the channel.
-
publishChannelDisconnected
Publishes an event to indicate that the specified channel has been disconnected.- Parameters:
scope
- the scope.caChannel
- the channel.
-