java.lang.Object
org.yamcs.protobuf.AbstractQueuesApi<T>
- All Implemented Interfaces:
Api<T>
- Direct Known Subclasses:
QueuesApiClient
@Generated(value="org.yamcs.protoc.ServiceGenerator",
date="2024-04-11T09:47:11.450096920Z")
public abstract class AbstractQueuesApi<T>
extends Object
implements Api<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidacceptCommand(T ctx, AcceptCommandRequest request, Observer<com.google.protobuf.Empty> observer) Accept a queued commandabstract voidblockQueue(T ctx, BlockQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Block a command queuefinal voidcallMethod(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 voiddisableQueue(T ctx, DisableQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Disable a command queueabstract voidenableQueue(T ctx, EnableQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Enable a command queuefinal com.google.protobuf.Descriptors.ServiceDescriptorabstract voidgetQueue(T ctx, GetQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Get a command queuefinal com.google.protobuf.MessagegetRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) final com.google.protobuf.MessagegetResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) abstract voidlistQueuedCommands(T ctx, ListQueuedCommandsRequest request, Observer<ListQueuedCommandsResponse> observer) List queued commandsabstract voidlistQueues(T ctx, ListQueuesRequest request, Observer<ListQueuesResponse> observer) List command queuesabstract voidrejectCommand(T ctx, RejectCommandRequest request, Observer<com.google.protobuf.Empty> observer) Reject a queued commandabstract voidsubscribeQueueEvents(T ctx, SubscribeQueueEventsRequest request, Observer<Commanding.CommandQueueEvent> observer) Receive updates on queue eventsabstract voidsubscribeQueueStatistics(T ctx, SubscribeQueueStatisticsRequest request, Observer<Commanding.CommandQueueInfo> observer) Receive updates on queue stats
-
Constructor Details
-
AbstractQueuesApi
public AbstractQueuesApi()
-
-
Method Details
-
listQueues
public abstract void listQueues(T ctx, ListQueuesRequest request, Observer<ListQueuesResponse> observer) List command queues
-
getQueue
public abstract void getQueue(T ctx, GetQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Get a command queue
-
enableQueue
public abstract void enableQueue(T ctx, EnableQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Enable a command queue
-
disableQueue
public abstract void disableQueue(T ctx, DisableQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Disable a command queue
-
blockQueue
public abstract void blockQueue(T ctx, BlockQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Block a command queue
-
subscribeQueueStatistics
public abstract void subscribeQueueStatistics(T ctx, SubscribeQueueStatisticsRequest request, Observer<Commanding.CommandQueueInfo> observer) Receive updates on queue stats
-
subscribeQueueEvents
public abstract void subscribeQueueEvents(T ctx, SubscribeQueueEventsRequest request, Observer<Commanding.CommandQueueEvent> observer) Receive updates on queue events
-
listQueuedCommands
public abstract void listQueuedCommands(T ctx, ListQueuedCommandsRequest request, Observer<ListQueuedCommandsResponse> observer) List queued commands
-
acceptCommand
public abstract void acceptCommand(T ctx, AcceptCommandRequest request, Observer<com.google.protobuf.Empty> observer) Accept a queued command
-
rejectCommand
public abstract void rejectCommand(T ctx, RejectCommandRequest request, Observer<com.google.protobuf.Empty> observer) Reject a queued command
-
getDescriptorForType
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceApi<T>
-
getRequestPrototype
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) - Specified by:
getRequestPrototypein interfaceApi<T>
-
getResponsePrototype
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) - Specified by:
getResponsePrototypein 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:
callMethodin 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:
callMethodin interfaceApi<T>
-