Package org.yamcs.http.api
Class CommandsApi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exportCommand
(Context ctx, ExportCommandRequest request, Observer<HttpBody> observer) Export a raw commandvoid
exportCommands
(Context ctx, ExportCommandsRequest request, Observer<HttpBody> observer) Export commands in CSV formatvoid
getCommand
(Context ctx, GetCommandRequest request, Observer<Commanding.CommandHistoryEntry> observer) Get a commandvoid
issueCommand
(Context ctx, IssueCommandRequest request, Observer<IssueCommandResponse> observer) Issue a command After validating the input parameters, the command is added to the appropriate command queue for further dispatch.void
listCommands
(Context ctx, ListCommandsRequest request, Observer<ListCommandsResponse> observer) List commandsvoid
streamCommands
(Context ctx, StreamCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer) Streams back commandsvoid
subscribeCommands
(Context ctx, SubscribeCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer) Receive updates on issued commandsvoid
updateCommandHistory
(Context ctx, UpdateCommandHistoryRequest request, Observer<com.google.protobuf.Empty> observer) Update command historyMethods inherited from class org.yamcs.protobuf.AbstractCommandsApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
CommandsApi
public CommandsApi()
-
-
Method Details
-
issueCommand
public void issueCommand(Context ctx, IssueCommandRequest request, Observer<IssueCommandResponse> observer) Description copied from class:AbstractCommandsApi
Issue a command After validating the input parameters, the command is added to the appropriate command queue for further dispatch.
- Specified by:
issueCommand
in classAbstractCommandsApi<Context>
-
updateCommandHistory
public void updateCommandHistory(Context ctx, UpdateCommandHistoryRequest request, Observer<com.google.protobuf.Empty> observer) Description copied from class:AbstractCommandsApi
Update command history
- Specified by:
updateCommandHistory
in classAbstractCommandsApi<Context>
-
listCommands
public void listCommands(Context ctx, ListCommandsRequest request, Observer<ListCommandsResponse> observer) Description copied from class:AbstractCommandsApi
List commands
- Specified by:
listCommands
in classAbstractCommandsApi<Context>
-
getCommand
public void getCommand(Context ctx, GetCommandRequest request, Observer<Commanding.CommandHistoryEntry> observer) Description copied from class:AbstractCommandsApi
Get a command
- Specified by:
getCommand
in classAbstractCommandsApi<Context>
-
exportCommand
Description copied from class:AbstractCommandsApi
Export a raw command
- Specified by:
exportCommand
in classAbstractCommandsApi<Context>
-
subscribeCommands
public void subscribeCommands(Context ctx, SubscribeCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer) Description copied from class:AbstractCommandsApi
Receive updates on issued commands
- Specified by:
subscribeCommands
in classAbstractCommandsApi<Context>
-
streamCommands
public void streamCommands(Context ctx, StreamCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer) Description copied from class:AbstractCommandsApi
Streams back commands
- Specified by:
streamCommands
in classAbstractCommandsApi<Context>
-
exportCommands
Description copied from class:AbstractCommandsApi
Export commands in CSV format
- Specified by:
exportCommands
in classAbstractCommandsApi<Context>
-