Package org.yamcs.protobuf
Class AbstractQueuesApi<T>
java.lang.Object
org.yamcs.protobuf.AbstractQueuesApi<T>
- All Implemented Interfaces:
Api<T>
- Direct Known Subclasses:
QueuesApi
,QueuesApiClient
@Generated(value="org.yamcs.maven.ServiceGenerator",
date="2024-12-10T15:41:02.533950257Z")
public abstract class AbstractQueuesApi<T>
extends Object
implements Api<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
acceptCommand
(T ctx, AcceptCommandRequest request, Observer<com.google.protobuf.Empty> observer) Accept a queued commandabstract void
blockQueue
(T ctx, BlockQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Block a command queuefinal 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
disableQueue
(T ctx, DisableQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Disable a command queueabstract void
enableQueue
(T ctx, EnableQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Enable a command queuefinal com.google.protobuf.Descriptors.ServiceDescriptor
abstract void
getQueue
(T ctx, GetQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Get a command queuefinal 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
listQueuedCommands
(T ctx, ListQueuedCommandsRequest request, Observer<ListQueuedCommandsResponse> observer) List queued commandsabstract void
listQueues
(T ctx, ListQueuesRequest request, Observer<ListQueuesResponse> observer) List command queuesabstract void
rejectCommand
(T ctx, RejectCommandRequest request, Observer<com.google.protobuf.Empty> observer) Reject a queued commandabstract void
subscribeQueueEvents
(T ctx, SubscribeQueueEventsRequest request, Observer<Commanding.CommandQueueEvent> observer) Receive updates on queue eventsabstract void
subscribeQueueStatistics
(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:
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>
-