Package csw.command.api.utils
Class CommandServiceExtension
java.lang.Object
csw.command.api.utils.CommandServiceExtension
-
Constructor Summary
ConstructorDescriptionCommandServiceExtension
(csw.command.api.scaladsl.CommandService commandService, akka.actor.typed.ActorSystem<?> actorSystem) -
Method Summary
Modifier and TypeMethodDescriptionakka.actor.typed.ActorSystem<?>
scala.concurrent.Future<CommandResponse.MatchingResponse>
onewayAndMatch
(ControlCommand controlCommand, StateMatcher stateMatcher) scala.concurrent.Future<scala.collection.immutable.List<CommandResponse.SubmitResponse>>
submitAllAndWait
(scala.collection.immutable.List<ControlCommand> submitCommands, akka.util.Timeout timeout) scala.concurrent.Future<CommandResponse.SubmitResponse>
submitAndWait
(ControlCommand controlCommand, akka.util.Timeout timeout)
-
Constructor Details
-
CommandServiceExtension
public CommandServiceExtension(csw.command.api.scaladsl.CommandService commandService, akka.actor.typed.ActorSystem<?> actorSystem)
-
-
Method Details
-
actorSystem
public akka.actor.typed.ActorSystem<?> actorSystem() -
onewayAndMatch
public scala.concurrent.Future<CommandResponse.MatchingResponse> onewayAndMatch(ControlCommand controlCommand, StateMatcher stateMatcher) -
submitAllAndWait
public scala.concurrent.Future<scala.collection.immutable.List<CommandResponse.SubmitResponse>> submitAllAndWait(scala.collection.immutable.List<ControlCommand> submitCommands, akka.util.Timeout timeout) -
submitAndWait
public scala.concurrent.Future<CommandResponse.SubmitResponse> submitAndWait(ControlCommand controlCommand, akka.util.Timeout timeout)
-