Class AkkaLocationExt.RichAkkaLocation

java.lang.Object
csw.command.client.extensions.AkkaLocationExt.RichAkkaLocation
Enclosing class:
AkkaLocationExt

public static class AkkaLocationExt.RichAkkaLocation extends Object
  • Constructor Details

    • RichAkkaLocation

      public RichAkkaLocation(AkkaLocation akkaLocation)
  • Method Details

    • akkaLocation

      public AkkaLocation 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