Package org.yamcs.http.api
Class QueuesApi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptCommand
(Context ctx, AcceptCommandRequest request, Observer<com.google.protobuf.Empty> observer) Accept a queued commandvoid
blockQueue
(Context ctx, BlockQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Block a command queuevoid
disableQueue
(Context ctx, DisableQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Disable a command queuevoid
enableQueue
(Context ctx, EnableQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Enable a command queuevoid
getQueue
(Context ctx, GetQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Get a command queuevoid
listQueuedCommands
(Context ctx, ListQueuedCommandsRequest request, Observer<ListQueuedCommandsResponse> observer) List queued commandsvoid
listQueues
(Context ctx, ListQueuesRequest request, Observer<ListQueuesResponse> observer) List command queuesvoid
rejectCommand
(Context ctx, RejectCommandRequest request, Observer<com.google.protobuf.Empty> observer) Reject a queued commandvoid
subscribeQueueEvents
(Context ctx, SubscribeQueueEventsRequest request, Observer<Commanding.CommandQueueEvent> observer) Receive updates on queue eventsvoid
subscribeQueueStatistics
(Context ctx, SubscribeQueueStatisticsRequest request, Observer<Commanding.CommandQueueInfo> observer) Receive updates on queue statsMethods inherited from class org.yamcs.protobuf.AbstractQueuesApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
QueuesApi
-
-
Method Details
-
listQueues
public void listQueues(Context ctx, ListQueuesRequest request, Observer<ListQueuesResponse> observer) Description copied from class:AbstractQueuesApi
List command queues
- Specified by:
listQueues
in classAbstractQueuesApi<Context>
-
getQueue
public void getQueue(Context ctx, GetQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Description copied from class:AbstractQueuesApi
Get a command queue
- Specified by:
getQueue
in classAbstractQueuesApi<Context>
-
subscribeQueueStatistics
public void subscribeQueueStatistics(Context ctx, SubscribeQueueStatisticsRequest request, Observer<Commanding.CommandQueueInfo> observer) Description copied from class:AbstractQueuesApi
Receive updates on queue stats
- Specified by:
subscribeQueueStatistics
in classAbstractQueuesApi<Context>
-
subscribeQueueEvents
public void subscribeQueueEvents(Context ctx, SubscribeQueueEventsRequest request, Observer<Commanding.CommandQueueEvent> observer) Description copied from class:AbstractQueuesApi
Receive updates on queue events
- Specified by:
subscribeQueueEvents
in classAbstractQueuesApi<Context>
-
enableQueue
public void enableQueue(Context ctx, EnableQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Description copied from class:AbstractQueuesApi
Enable a command queue
- Specified by:
enableQueue
in classAbstractQueuesApi<Context>
-
disableQueue
public void disableQueue(Context ctx, DisableQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Description copied from class:AbstractQueuesApi
Disable a command queue
- Specified by:
disableQueue
in classAbstractQueuesApi<Context>
-
blockQueue
public void blockQueue(Context ctx, BlockQueueRequest request, Observer<Commanding.CommandQueueInfo> observer) Description copied from class:AbstractQueuesApi
Block a command queue
- Specified by:
blockQueue
in classAbstractQueuesApi<Context>
-
listQueuedCommands
public void listQueuedCommands(Context ctx, ListQueuedCommandsRequest request, Observer<ListQueuedCommandsResponse> observer) Description copied from class:AbstractQueuesApi
List queued commands
- Specified by:
listQueuedCommands
in classAbstractQueuesApi<Context>
-
acceptCommand
public void acceptCommand(Context ctx, AcceptCommandRequest request, Observer<com.google.protobuf.Empty> observer) Description copied from class:AbstractQueuesApi
Accept a queued command
- Specified by:
acceptCommand
in classAbstractQueuesApi<Context>
-
rejectCommand
public void rejectCommand(Context ctx, RejectCommandRequest request, Observer<com.google.protobuf.Empty> observer) Description copied from class:AbstractQueuesApi
Reject a queued command
- Specified by:
rejectCommand
in classAbstractQueuesApi<Context>
-