SequencerClient
Http Client for the sequencer
Value parameters
- ec
-
- execution context
- postClient
-
- a transport msocket.http.post.HttpPostTransport to communicate with http protocol
- websocketClient
-
- a transport msocket.http.ws.WebsocketTransport to communicate with websocket
Attributes
- Graph
-
- Supertypes
-
trait SequencerServiceCodecstrait OcsCodecstrait OcsCodecsBasetrait BasicCodecstrait LocationCodecstrait LocationCodecsBasetrait ParamCodecstrait ParamCodecsBasetrait CommonCodecstrait SequencerApitrait SequencerCommandServiceclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Value members
Concrete methods
Discards all the pending steps of the sequence and call the abort handler of the sequencer's script
Discards all the pending steps of the sequence and call the abort handler of the sequencer's script
Attributes
- Returns
-
an esw.ocs.api.protocol.OkOrUnhandledResponse as a Future value
- Definition Classes
Adds the given list of sequence commands at the end of the sequence
Adds the given list of sequence commands at the end of the sequence
Value parameters
- commands
-
- list of SequenceCommand to add in the sequence of sequencer
Attributes
- Returns
-
an esw.ocs.api.protocol.OkOrUnhandledResponse as a Future value
- Definition Classes
Adds a breakpoint at the command of the given id in the sequence
Adds a breakpoint at the command of the given id in the sequence
Value parameters
- id
-
- runId of the command where breakpoint is to be added
Attributes
- Returns
-
a esw.ocs.api.protocol.GenericResponse as a Future value
- Definition Classes
Deletes the command of the given id in the sequence
Deletes the command of the given id in the sequence
Value parameters
- id
-
- runId of the command which is to be deleted
Attributes
- Returns
-
a esw.ocs.api.protocol.GenericResponse as a Future value
- Definition Classes
Sends command to the sequencer to call the diagnostic mode handler of the sequencer's script
Sends command to the sequencer to call the diagnostic mode handler of the sequencer's script
Value parameters
- hint
-
- String to support diagnostic data mode
- startTime
-
- time at which the diagnostic mode will take effect
Attributes
- Returns
-
a esw.ocs.api.protocol.DiagnosticModeResponse as a Future value
- Definition Classes
Get the sequence in sequencer - current or last. If there is no sequence then None response is returned otherwise esw.ocs.api.models.StepList is returned as Some value
Get the sequence in sequencer - current or last. If there is no sequence then None response is returned otherwise esw.ocs.api.models.StepList is returned as Some value
Attributes
- Returns
-
Option of esw.ocs.api.models.StepList as a Future value
- Definition Classes
Return the pekko location of sequence component where sequencer is running
Return the pekko location of sequence component where sequencer is running
Attributes
- Returns
-
csw.location.api.models.PekkoLocation as a Future value
- Definition Classes
Returns the current state of the sequencer (Idle, Loaded, Offline, Running, Processing)
Returns the current state of the sequencer (Idle, Loaded, Offline, Running, Processing)
Attributes
- Returns
-
an esw.ocs.api.models.SequencerState as a Future value
- Definition Classes
sends command to the sequencer to go in Offline state if it is in Online state
sends command to the sequencer to go in Offline state if it is in Online state
Attributes
- Returns
-
a esw.ocs.api.protocol.GoOfflineResponse as a Future value
- Definition Classes
sends command to the sequencer to go in Online state if it is in Offline state
sends command to the sequencer to go in Online state if it is in Offline state
Attributes
- Returns
-
a esw.ocs.api.protocol.GoOnlineResponse as a Future value
- Definition Classes
Inserts the given list of sequence commands after the command of given id in the sequence
Inserts the given list of sequence commands after the command of given id in the sequence
Value parameters
- commands
-
- list of SequenceCommand to be inserted
- id
-
- runId of command after which the given list of commands is to be inserted
Attributes
- Returns
-
a esw.ocs.api.protocol.GenericResponse as a Future value
- Definition Classes
Checks if sequencer is in Idle state
Checks if sequencer is in Idle state
Attributes
- Returns
-
boolean as a Future value
- Definition Classes
Checks if sequencer is in Online(any state except Offline) state
Checks if sequencer is in Online(any state except Offline) state
Attributes
- Returns
-
boolean as a Future value
- Definition Classes
Loads the given sequence to the sequencer. If the sequencer is in Idle or Loaded state then esw.ocs.api.protocol.Ok response is returned otherwise esw.ocs.api.protocol.Unhandled response is returned
Loads the given sequence to the sequencer. If the sequencer is in Idle or Loaded state then esw.ocs.api.protocol.Ok response is returned otherwise esw.ocs.api.protocol.Unhandled response is returned
Value parameters
- sequence
-
to run on the sequencer
Attributes
- Returns
-
an esw.ocs.api.protocol.OkOrUnhandledResponse as a Future value
- Definition Classes
Sends command to the sequencer to call the operations mode handler of the sequencer's script
Sends command to the sequencer to call the operations mode handler of the sequencer's script
Attributes
- Returns
-
a esw.ocs.api.protocol.OperationsModeResponse as a Future value
- Definition Classes
Pauses the running sequence
Pauses the running sequence
Attributes
- Returns
-
an esw.ocs.api.protocol.PauseResponse as a Future value
- Definition Classes
Prepends the given list of sequence commands in the sequence
Prepends the given list of sequence commands in the sequence
Value parameters
- commands
-
- list of SequenceCommand to add in the sequence of sequencer
Attributes
- Returns
-
an esw.ocs.api.protocol.OkOrUnhandledResponse as a Future value
- Definition Classes
Query for the result of the sequence which was submitted to get a csw.params.commands.CommandResponse.SubmitResponse as a Future. Query allows checking to see if the long-running sequence is completed without waiting as with queryFinal.
Query for the result of the sequence which was submitted to get a csw.params.commands.CommandResponse.SubmitResponse as a Future. Query allows checking to see if the long-running sequence is completed without waiting as with queryFinal.
Value parameters
- runId
-
of the sequence under execution
Attributes
- Returns
-
a csw.params.commands.CommandResponse.SubmitResponse as a Future value
- Definition Classes
-
SequencerCommandService
Query for the final result of a long running sequence which was sent through submit
Query for the final result of a long running sequence which was sent through submit
Value parameters
- runId
-
of the sequence under execution
- timeout
-
max-time to wait for a final response
Attributes
- Returns
-
a final csw.params.commands.CommandResponse.SubmitResponse as a Future value
- Definition Classes
-
SequencerCommandService
Removes a breakpoint from the command of the given id in the sequence
Removes a breakpoint from the command of the given id in the sequence
Value parameters
- id
-
- runId of command where breakpoint is
Attributes
- Returns
-
a esw.ocs.api.protocol.GenericResponse as a Future value
- Definition Classes
Replaces the command of the given id with the given list of sequence commands in the sequence
Replaces the command of the given id with the given list of sequence commands in the sequence
Value parameters
- commands
-
- list of SequenceCommand to replace with
- id
-
- runId of command which is to be replaced
Attributes
- Returns
-
a esw.ocs.api.protocol.GenericResponse as a Future value
- Definition Classes
Resets the sequence by discarding all the pending steps of the sequence
Resets the sequence by discarding all the pending steps of the sequence
Attributes
- Returns
-
an esw.ocs.api.protocol.OkOrUnhandledResponse as a Future value
- Definition Classes
Resumes the paused sequence
Resumes the paused sequence
Attributes
- Returns
-
an esw.ocs.api.protocol.OkOrUnhandledResponse as a Future value
- Definition Classes
Starts the loaded sequence in the sequencer. If the sequencer is loaded then a csw.params.commands.CommandResponse.Started response is returned If the sequencer is already running another sequence, an csw.params.commands.CommandResponse.Invalid response is returned
Starts the loaded sequence in the sequencer. If the sequencer is loaded then a csw.params.commands.CommandResponse.Started response is returned If the sequencer is already running another sequence, an csw.params.commands.CommandResponse.Invalid response is returned
Attributes
- Returns
-
an initial csw.params.commands.CommandResponse.SubmitResponse as a Future value
- Definition Classes
Discards all the pending steps of the sequence and call the stop handler of the sequencer's script
Discards all the pending steps of the sequence and call the stop handler of the sequencer's script
Attributes
- Returns
-
an esw.ocs.api.protocol.OkOrUnhandledResponse as a Future value
- Definition Classes
Submit the given sequence to the sequencer. If the sequencer is idle, the provided sequence is loaded in the sequencer and execution of the sequence starts immediately, and a csw.params.commands.CommandResponse.Started response is returned If the sequencer is already running another sequence, an csw.params.commands.CommandResponse.Invalid response is returned
Submit the given sequence to the sequencer. If the sequencer is idle, the provided sequence is loaded in the sequencer and execution of the sequence starts immediately, and a csw.params.commands.CommandResponse.Started response is returned If the sequencer is already running another sequence, an csw.params.commands.CommandResponse.Invalid response is returned
Value parameters
- sequence
-
to run on the sequencer
Attributes
- Returns
-
an initial csw.params.commands.CommandResponse.SubmitResponse as a Future value
- Definition Classes
-
SequencerCommandService
Submit the given sequence to the sequencer and wait for the final response if the sequence was successfully csw.params.commands.CommandResponse.Started. If the sequencer is idle, the provided sequence will be submitted to the sequencer and the final response will be returned. If the sequencer is already running another sequence, an csw.params.commands.CommandResponse.Invalid response is returned.
Submit the given sequence to the sequencer and wait for the final response if the sequence was successfully csw.params.commands.CommandResponse.Started. If the sequencer is idle, the provided sequence will be submitted to the sequencer and the final response will be returned. If the sequencer is already running another sequence, an csw.params.commands.CommandResponse.Invalid response is returned.
Value parameters
- sequence
-
to run on the sequencer
- timeout
-
max-time to wait for a final response
Attributes
- Returns
-
a final csw.params.commands.CommandResponse.SubmitResponse as a Future value
- Definition Classes
-
SequencerCommandService
Subscribes to the changes in state of sequencer which includes SequencerState (i.e Idle, Loaded, etc) and current StepList.
Subscribes to the changes in state of sequencer which includes SequencerState (i.e Idle, Loaded, etc) and current StepList.
Attributes
- Returns
-
a stream of current states with SequencerStateResponse as the materialized value which can be used to stop the subscription
- Definition Classes
Inherited fields
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- LocationCodecsBase
Attributes
- Inherited from:
- OcsCodecsBase
Implicits
Inherited implicits
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecs
Attributes
- Inherited from:
- LocationCodecsBase
Attributes
- Inherited from:
- LocationCodecsBase
Attributes
- Inherited from:
- LocationCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecs
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- BasicCodecs
Attributes
- Inherited from:
- BasicCodecs
Attributes
- Inherited from:
- CommonCodecs
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- CommonCodecs
Attributes
- Inherited from:
- CommonCodecs
Attributes
- Inherited from:
- OcsCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- CommonCodecs
Attributes
- Inherited from:
- CommonCodecs
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- OcsCodecsBase
Attributes
- Inherited from:
- LocationCodecs
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- LocationCodecsBase
Attributes
- Inherited from:
- LocationCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- OcsCodecsBase
Attributes
- Inherited from:
- OcsCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- CommonCodecs
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- LocationCodecsBase
Attributes
- Inherited from:
- OcsCodecs
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- OcsCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- SequencerServiceCodecs
Attributes
- Inherited from:
- SequencerServiceCodecs
Attributes
- Inherited from:
- OcsCodecsBase
Attributes
- Inherited from:
- SequencerServiceCodecs
Attributes
- Inherited from:
- SequencerServiceCodecs
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- OcsCodecsBase
Attributes
- Inherited from:
- OcsCodecsBase
Attributes
- Inherited from:
- OcsCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- BasicCodecs
Attributes
- Inherited from:
- LocationCodecsBase
Attributes
- Inherited from:
- LocationCodecsBase
Attributes
- Inherited from:
- ParamCodecsBase
Attributes
- Inherited from:
- OcsCodecsBase
Attributes
- Inherited from:
- OcsCodecsBase