Submit a oneway command to a component which returns a promise of OnewayResponse. This api is used when completion is provided through CurrentState or status values and eventService.
Command to be sent as oneway command.
OnewayResponse as Promise
This api is used to get the result of a long running command which was submitted and returns a promise of SubmitResponse.
The runId of the command for which response is required
SubmitResponse as Promise
This api is used to get the final result of a long running command which was submitted and returns a promise of SubmitResponse.
The runId of the command for which response is required
time to wait for a final response
SubmitResponse as Promise
Submit a command to a component which returns a promise of SubmitResponse.
Command to be submitted.
SubmitResponse as Promise
Submit multiple commands and wait for the result of the all submitted commands
a list of commands to be submitted
time to wait for a final response
SubmitResponse's List as Promise
Submit a single command and wait for the result of the submitted command
Command to be submitted
time to wait for a final response
SubmitResponse as Promise
Subscribe to the current state of a component corresponding to the AkkaLocation of the component
Subscribe to the set of currentStates. If no states are provided, all the current states will be received.
Subscription which can be used to cancel to the subscription in future.
Subscribe to the current state of a component corresponding to the AkkaLocation of the component
a callback which gets called on change of any of the subscribed currentState
a callback which gets called on change of any of the subscribed currentState
a optional error callback which gets called on receiving error. it can be Parsing error or a Runtime error [for ex. Gateway exception]
a optional error callback which gets called on receiving error. it can be Parsing error or a Runtime error [for ex. Gateway exception]
a optional close callback which gets called when the connection is closed.
a optional close callback which gets called when the connection is closed.
Subscription which can be used to cancel to the subscription in future.
Send a validate command to a component which returns a promise of ValidateResponse.
Command to be validated.
ValidateResponse as Promise
Generated using TypeDoc
A Command Service API of a CSW component. This model provides method based APIs for command interactions with a component.