Package csw.command.client
Class CommandServiceFactory$
java.lang.Object
csw.command.client.CommandServiceFactory$
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CommandServiceFactory$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMake a CommandService instance for javacsw.command.api.scaladsl.CommandService
make
(akka.actor.typed.ActorRef<ComponentMessage> component, akka.actor.typed.ActorSystem<?> actorSystem) csw.command.api.scaladsl.CommandService
Make a CommandService instance for scala
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
CommandServiceFactory$
public CommandServiceFactory$()
-
-
Method Details
-
make
public csw.command.api.scaladsl.CommandService make(akka.actor.typed.ActorRef<ComponentMessage> component, akka.actor.typed.ActorSystem<?> actorSystem) -
make
public csw.command.api.scaladsl.CommandService make(Location componentLocation, akka.actor.typed.ActorSystem<?> actorSystem) Make a CommandService instance for scala- Parameters:
componentLocation
- the destination component location to which commands need to be sentactorSystem
- of the component used for executing commands to other components and wait for the responses- Returns:
- an instance of type CommandService
-
jMake
public ICommandService jMake(Location componentLocation, akka.actor.typed.ActorSystem<?> actorSystem) Make a CommandService instance for java- Parameters:
componentLocation
- the destination component location to which commands need to be sentactorSystem
- of the component used for executing commands to other components and wait for the responses- Returns:
- an instance of type ICommandService
-