Class QueueApi

java.lang.Object
org.yamcs.protobuf.AbstractQueueApi<Context>
org.yamcs.http.api.QueueApi
All Implemented Interfaces:
org.yamcs.api.Api<Context>

public class QueueApi extends org.yamcs.protobuf.AbstractQueueApi<Context>
  • Constructor Summary

    Constructors
    Constructor
    Description
    QueueApi(AuditLog auditLog)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    acceptCommand(Context ctx, org.yamcs.protobuf.AcceptCommandRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
     
    void
    blockQueue(Context ctx, org.yamcs.protobuf.BlockQueueRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandQueueInfo> observer)
     
    void
    disableQueue(Context ctx, org.yamcs.protobuf.DisableQueueRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandQueueInfo> observer)
     
    void
    enableQueue(Context ctx, org.yamcs.protobuf.EnableQueueRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandQueueInfo> observer)
     
    void
    getQueue(Context ctx, org.yamcs.protobuf.GetQueueRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandQueueInfo> observer)
     
    void
    listQueuedCommands(Context ctx, org.yamcs.protobuf.ListQueuedCommandsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListQueuedCommandsResponse> observer)
     
    void
    listQueues(Context ctx, org.yamcs.protobuf.ListQueuesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListQueuesResponse> observer)
     
    void
    rejectCommand(Context ctx, org.yamcs.protobuf.RejectCommandRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
     
    void
    subscribeQueueEvents(Context ctx, org.yamcs.protobuf.SubscribeQueueEventsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandQueueEvent> observer)
     
    void
    subscribeQueueStatistics(Context ctx, org.yamcs.protobuf.SubscribeQueueStatisticsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandQueueInfo> observer)
     
    void
    updateQueue(Context ctx, org.yamcs.protobuf.EditQueueRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandQueueInfo> observer)
     
    void
    updateQueueEntry(Context ctx, org.yamcs.protobuf.EditQueueEntryRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
     

    Methods inherited from class org.yamcs.protobuf.AbstractQueueApi

    callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • QueueApi

      public QueueApi(AuditLog auditLog)
  • Method Details

    • listQueues

      public void listQueues(Context ctx, org.yamcs.protobuf.ListQueuesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListQueuesResponse> observer)
      Specified by:
      listQueues in class org.yamcs.protobuf.AbstractQueueApi<Context>
    • getQueue

      public void getQueue(Context ctx, org.yamcs.protobuf.GetQueueRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandQueueInfo> observer)
      Specified by:
      getQueue in class org.yamcs.protobuf.AbstractQueueApi<Context>
    • subscribeQueueStatistics

      public void subscribeQueueStatistics(Context ctx, org.yamcs.protobuf.SubscribeQueueStatisticsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandQueueInfo> observer)
      Specified by:
      subscribeQueueStatistics in class org.yamcs.protobuf.AbstractQueueApi<Context>
    • subscribeQueueEvents

      public void subscribeQueueEvents(Context ctx, org.yamcs.protobuf.SubscribeQueueEventsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandQueueEvent> observer)
      Specified by:
      subscribeQueueEvents in class org.yamcs.protobuf.AbstractQueueApi<Context>
    • updateQueue

      public void updateQueue(Context ctx, org.yamcs.protobuf.EditQueueRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandQueueInfo> observer)
      Specified by:
      updateQueue in class org.yamcs.protobuf.AbstractQueueApi<Context>
    • enableQueue

      public void enableQueue(Context ctx, org.yamcs.protobuf.EnableQueueRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandQueueInfo> observer)
      Specified by:
      enableQueue in class org.yamcs.protobuf.AbstractQueueApi<Context>
    • disableQueue

      public void disableQueue(Context ctx, org.yamcs.protobuf.DisableQueueRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandQueueInfo> observer)
      Specified by:
      disableQueue in class org.yamcs.protobuf.AbstractQueueApi<Context>
    • blockQueue

      public void blockQueue(Context ctx, org.yamcs.protobuf.BlockQueueRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandQueueInfo> observer)
      Specified by:
      blockQueue in class org.yamcs.protobuf.AbstractQueueApi<Context>
    • listQueuedCommands

      public void listQueuedCommands(Context ctx, org.yamcs.protobuf.ListQueuedCommandsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListQueuedCommandsResponse> observer)
      Specified by:
      listQueuedCommands in class org.yamcs.protobuf.AbstractQueueApi<Context>
    • updateQueueEntry

      public void updateQueueEntry(Context ctx, org.yamcs.protobuf.EditQueueEntryRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
      Specified by:
      updateQueueEntry in class org.yamcs.protobuf.AbstractQueueApi<Context>
    • acceptCommand

      public void acceptCommand(Context ctx, org.yamcs.protobuf.AcceptCommandRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
      Specified by:
      acceptCommand in class org.yamcs.protobuf.AbstractQueueApi<Context>
    • rejectCommand

      public void rejectCommand(Context ctx, org.yamcs.protobuf.RejectCommandRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
      Specified by:
      rejectCommand in class org.yamcs.protobuf.AbstractQueueApi<Context>