Package org.yamcs.protobuf
Class CommandsApiClient
- java.lang.Object
-
- org.yamcs.protobuf.AbstractCommandsApi<Void>
-
- org.yamcs.protobuf.CommandsApiClient
-
public class CommandsApiClient extends AbstractCommandsApi<Void>
-
-
Constructor Summary
Constructors Constructor Description CommandsApiClient(MethodHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexportCommand(Void ctx, ExportCommandRequest request, Observer<HttpBody> observer)Export a raw commandvoidgetCommand(Void ctx, GetCommandRequest request, Observer<Commanding.CommandHistoryEntry> observer)Get a commandvoidissueCommand(Void ctx, IssueCommandRequest request, Observer<IssueCommandResponse> observer)Issue a command After validating the input parameters, the command will be added to the appropriate command queue for further dispatch.voidlistCommands(Void ctx, ListCommandsRequest request, Observer<ListCommandsResponse> observer)List commandsvoidstreamCommands(Void ctx, StreamCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer)Streams back commandsvoidsubscribeCommands(Void ctx, SubscribeCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer)Receive updates on issued commandsvoidupdateCommandHistory(Void ctx, UpdateCommandHistoryRequest request, Observer<com.google.protobuf.Empty> observer)Update command history-
Methods inherited from class org.yamcs.protobuf.AbstractCommandsApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
-
-
-
Constructor Detail
-
CommandsApiClient
public CommandsApiClient(MethodHandler handler)
-
-
Method Detail
-
issueCommand
public final void issueCommand(Void ctx, IssueCommandRequest request, Observer<IssueCommandResponse> observer)
Issue a command After validating the input parameters, the command will be added to the appropriate command queue for further dispatch.
- Specified by:
issueCommandin classAbstractCommandsApi<Void>
-
updateCommandHistory
public final void updateCommandHistory(Void ctx, UpdateCommandHistoryRequest request, Observer<com.google.protobuf.Empty> observer)
Update command history
- Specified by:
updateCommandHistoryin classAbstractCommandsApi<Void>
-
listCommands
public final void listCommands(Void ctx, ListCommandsRequest request, Observer<ListCommandsResponse> observer)
List commands
- Specified by:
listCommandsin classAbstractCommandsApi<Void>
-
getCommand
public final void getCommand(Void ctx, GetCommandRequest request, Observer<Commanding.CommandHistoryEntry> observer)
Get a command
- Specified by:
getCommandin classAbstractCommandsApi<Void>
-
streamCommands
public final void streamCommands(Void ctx, StreamCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer)
Streams back commands
- Specified by:
streamCommandsin classAbstractCommandsApi<Void>
-
subscribeCommands
public final void subscribeCommands(Void ctx, SubscribeCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer)
Receive updates on issued commands
- Specified by:
subscribeCommandsin classAbstractCommandsApi<Void>
-
exportCommand
public final void exportCommand(Void ctx, ExportCommandRequest request, Observer<HttpBody> observer)
Export a raw command
- Specified by:
exportCommandin classAbstractCommandsApi<Void>
-
-