Package csw.command.client.extensions
Class AkkaLocationExt.RichAkkaLocation
java.lang.Object
csw.command.client.extensions.AkkaLocationExt.RichAkkaLocation
- Enclosing class:
- AkkaLocationExt
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionakka.actor.typed.ActorRef<ComponentMessage>
componentRef
(akka.actor.typed.ActorSystem<?> actorSystem) If the component type is HCD or Assembly, use this to get the correct ActorRefakka.actor.typed.ActorRef<ContainerMessage>
containerRef
(akka.actor.typed.ActorSystem<?> actorSystem) If the component type is Container, use this to get the correct ActorRefakka.actor.typed.ActorRef<SequencerMsg>
sequencerRef
(akka.actor.typed.ActorSystem<?> actorSystem) If the component type is Sequencer, use this to get the correct ActorRef
-
Constructor Details
-
RichAkkaLocation
-
-
Method Details
-
akkaLocation
-
componentRef
public akka.actor.typed.ActorRef<ComponentMessage> componentRef(akka.actor.typed.ActorSystem<?> actorSystem) If the component type is HCD or Assembly, use this to get the correct ActorRef- Parameters:
actorSystem
- (undocumented)- Returns:
- a typed ActorRef that understands only ComponentMessage
-
containerRef
public akka.actor.typed.ActorRef<ContainerMessage> containerRef(akka.actor.typed.ActorSystem<?> actorSystem) If the component type is Container, use this to get the correct ActorRef- Parameters:
actorSystem
- (undocumented)- Returns:
- a typed ActorRef that understands only ContainerMessage
-
sequencerRef
public akka.actor.typed.ActorRef<SequencerMsg> sequencerRef(akka.actor.typed.ActorSystem<?> actorSystem) If the component type is Sequencer, use this to get the correct ActorRef- Parameters:
actorSystem
- (undocumented)- Returns:
- a typed ActorRef that understands only SequencerMsg
-