Package csw.command.client
Class CommandServiceFactory
- java.lang.Object
- 
- csw.command.client.CommandServiceFactory
 
- 
 public class CommandServiceFactory extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description CommandServiceFactory()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static ICommandServicejMake(Location componentLocation, akka.actor.typed.ActorSystem<?> actorSystem)Make a CommandService instance for javastatic csw.command.api.scaladsl.CommandServicemake(akka.actor.typed.ActorRef<ComponentMessage> component, akka.actor.typed.ActorSystem<?> actorSystem)static csw.command.api.scaladsl.CommandServicemake(Location componentLocation, akka.actor.typed.ActorSystem<?> actorSystem)Make a CommandService instance for scala
 
- 
- 
- 
Method Detail- 
makepublic static csw.command.api.scaladsl.CommandService make(akka.actor.typed.ActorRef<ComponentMessage> component, akka.actor.typed.ActorSystem<?> actorSystem) 
 - 
makepublic static 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 sent
- actorSystem- of the component used for executing commands to other components and wait for the responses
- Returns:
- an instance of type CommandService
 
 - 
jMakepublic static 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 sent
- actorSystem- of the component used for executing commands to other components and wait for the responses
- Returns:
- an instance of type ICommandService
 
 
- 
 
-