Package org.yamcs.protobuf
Class CommandsApiClient
@Generated(value="org.yamcs.protoc.ServiceGenerator",
date="2024-04-22T11:12:45.278296365Z")
public class CommandsApiClient
extends AbstractCommandsApi<Void>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
exportCommand
(Void ctx, ExportCommandRequest request, Observer<HttpBody> observer) Export a raw commandfinal void
getCommand
(Void ctx, GetCommandRequest request, Observer<Commanding.CommandHistoryEntry> observer) Get a commandfinal void
issueCommand
(Void 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.final void
listCommands
(Void ctx, ListCommandsRequest request, Observer<ListCommandsResponse> observer) List commandsfinal void
streamCommands
(Void ctx, StreamCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer) Streams back commandsfinal void
subscribeCommands
(Void ctx, SubscribeCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer) Receive updates on issued commandsfinal void
updateCommandHistory
(Void 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
-
CommandsApiClient
-
-
Method Details
-
issueCommand
public final void issueCommand(Void 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.
- Specified by:
issueCommand
in classAbstractCommandsApi<Void>
-
updateCommandHistory
public final void updateCommandHistory(Void ctx, UpdateCommandHistoryRequest request, Observer<com.google.protobuf.Empty> observer) Update command history
- Specified by:
updateCommandHistory
in classAbstractCommandsApi<Void>
-
listCommands
public final void listCommands(Void ctx, ListCommandsRequest request, Observer<ListCommandsResponse> observer) List commands
- Specified by:
listCommands
in classAbstractCommandsApi<Void>
-
getCommand
public final void getCommand(Void ctx, GetCommandRequest request, Observer<Commanding.CommandHistoryEntry> observer) Get a command
- Specified by:
getCommand
in classAbstractCommandsApi<Void>
-
streamCommands
public final void streamCommands(Void ctx, StreamCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer) Streams back commands
- Specified by:
streamCommands
in classAbstractCommandsApi<Void>
-
subscribeCommands
public final void subscribeCommands(Void ctx, SubscribeCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer) Receive updates on issued commands
- Specified by:
subscribeCommands
in classAbstractCommandsApi<Void>
-
exportCommand
public final void exportCommand(Void ctx, ExportCommandRequest request, Observer<HttpBody> observer) Export a raw command
- Specified by:
exportCommand
in classAbstractCommandsApi<Void>
-