Package org.yamcs.protobuf
Class AbstractCommandsApi<T>
java.lang.Object
org.yamcs.protobuf.AbstractCommandsApi<T>
- All Implemented Interfaces:
Api<T>
- Direct Known Subclasses:
CommandsApi
,CommandsApiClient
@Generated(value="org.yamcs.protoc.ServiceGenerator",
date="2024-04-19T02:14:52.970138506Z")
public abstract class AbstractCommandsApi<T>
extends Object
implements Api<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
callMethod
(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, com.google.protobuf.Message request, Observer<com.google.protobuf.Message> future) final Observer<com.google.protobuf.Message>
callMethod
(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, Observer<com.google.protobuf.Message> future) abstract void
exportCommand
(T ctx, ExportCommandRequest request, Observer<HttpBody> observer) Export a raw commandabstract void
getCommand
(T ctx, GetCommandRequest request, Observer<Commanding.CommandHistoryEntry> observer) Get a commandfinal com.google.protobuf.Descriptors.ServiceDescriptor
final com.google.protobuf.Message
getRequestPrototype
(com.google.protobuf.Descriptors.MethodDescriptor method) final com.google.protobuf.Message
getResponsePrototype
(com.google.protobuf.Descriptors.MethodDescriptor method) abstract void
issueCommand
(T 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.abstract void
listCommands
(T ctx, ListCommandsRequest request, Observer<ListCommandsResponse> observer) List commandsabstract void
streamCommands
(T ctx, StreamCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer) Streams back commandsabstract void
subscribeCommands
(T ctx, SubscribeCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer) Receive updates on issued commandsabstract void
updateCommandHistory
(T ctx, UpdateCommandHistoryRequest request, Observer<com.google.protobuf.Empty> observer) Update command history
-
Constructor Details
-
AbstractCommandsApi
public AbstractCommandsApi()
-
-
Method Details
-
issueCommand
public abstract void issueCommand(T 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.
-
updateCommandHistory
public abstract void updateCommandHistory(T ctx, UpdateCommandHistoryRequest request, Observer<com.google.protobuf.Empty> observer) Update command history
-
listCommands
public abstract void listCommands(T ctx, ListCommandsRequest request, Observer<ListCommandsResponse> observer) List commands
-
getCommand
public abstract void getCommand(T ctx, GetCommandRequest request, Observer<Commanding.CommandHistoryEntry> observer) Get a command
-
streamCommands
public abstract void streamCommands(T ctx, StreamCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer) Streams back commands
-
subscribeCommands
public abstract void subscribeCommands(T ctx, SubscribeCommandsRequest request, Observer<Commanding.CommandHistoryEntry> observer) Receive updates on issued commands
-
exportCommand
public abstract void exportCommand(T ctx, ExportCommandRequest request, Observer<HttpBody> observer) Export a raw command
-
getDescriptorForType
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfaceApi<T>
-
getRequestPrototype
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) - Specified by:
getRequestPrototype
in interfaceApi<T>
-
getResponsePrototype
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) - Specified by:
getResponsePrototype
in interfaceApi<T>
-
callMethod
public final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, com.google.protobuf.Message request, Observer<com.google.protobuf.Message> future) - Specified by:
callMethod
in interfaceApi<T>
-
callMethod
public final Observer<com.google.protobuf.Message> callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, Observer<com.google.protobuf.Message> future) - Specified by:
callMethod
in interfaceApi<T>
-