Package csw.framework
Class CurrentStatePublisher
- java.lang.Object
-
- csw.framework.CurrentStatePublisher
-
public class CurrentStatePublisher extends java.lang.ObjectWrapper API for publishingCurrentStateof a componentparam: publisherActor the wrapped actor
-
-
Constructor Summary
Constructors Constructor Description CurrentStatePublisher(akka.actor.typed.ActorRef<PubSub.PublisherMessage<CurrentState>> publisherActor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpublish(CurrentState currentState)PublishCurrentStateto the subscribed componentsakka.actor.typed.ActorRef<PubSub.PublisherMessage<CurrentState>>publisherActor()
-
-
-
Constructor Detail
-
CurrentStatePublisher
public CurrentStatePublisher(akka.actor.typed.ActorRef<PubSub.PublisherMessage<CurrentState>> publisherActor)
-
-
Method Detail
-
publish
public void publish(CurrentState currentState)
PublishCurrentStateto the subscribed components- Parameters:
currentState-CurrentStateto be published
-
publisherActor
public akka.actor.typed.ActorRef<PubSub.PublisherMessage<CurrentState>> publisherActor()
-
-