Class CommandsApi

  • All Implemented Interfaces:
    org.yamcs.api.Api<Context>

    public class CommandsApi
    extends org.yamcs.protobuf.AbstractCommandsApi<Context>
    • Constructor Summary

      Constructors 
      Constructor Description
      CommandsApi()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void exportCommand​(Context ctx, org.yamcs.protobuf.ExportCommandRequest request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer)  
      void getCommand​(Context ctx, org.yamcs.protobuf.GetCommandRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandHistoryEntry> observer)  
      void issueCommand​(Context ctx, org.yamcs.protobuf.IssueCommandRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.IssueCommandResponse> observer)  
      void listCommands​(Context ctx, org.yamcs.protobuf.ListCommandsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListCommandsResponse> observer)  
      void streamCommands​(Context ctx, org.yamcs.protobuf.StreamCommandsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandHistoryEntry> observer)  
      void subscribeCommands​(Context ctx, org.yamcs.protobuf.SubscribeCommandsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandHistoryEntry> observer)  
      void updateCommandHistory​(Context ctx, org.yamcs.protobuf.UpdateCommandHistoryRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)  
      • Methods inherited from class org.yamcs.protobuf.AbstractCommandsApi

        callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
    • Constructor Detail

      • CommandsApi

        public CommandsApi()
    • Method Detail

      • issueCommand

        public void issueCommand​(Context ctx,
                                 org.yamcs.protobuf.IssueCommandRequest request,
                                 org.yamcs.api.Observer<org.yamcs.protobuf.IssueCommandResponse> observer)
        Specified by:
        issueCommand in class org.yamcs.protobuf.AbstractCommandsApi<Context>
      • updateCommandHistory

        public void updateCommandHistory​(Context ctx,
                                         org.yamcs.protobuf.UpdateCommandHistoryRequest request,
                                         org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
        Specified by:
        updateCommandHistory in class org.yamcs.protobuf.AbstractCommandsApi<Context>
      • listCommands

        public void listCommands​(Context ctx,
                                 org.yamcs.protobuf.ListCommandsRequest request,
                                 org.yamcs.api.Observer<org.yamcs.protobuf.ListCommandsResponse> observer)
        Specified by:
        listCommands in class org.yamcs.protobuf.AbstractCommandsApi<Context>
      • getCommand

        public void getCommand​(Context ctx,
                               org.yamcs.protobuf.GetCommandRequest request,
                               org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandHistoryEntry> observer)
        Specified by:
        getCommand in class org.yamcs.protobuf.AbstractCommandsApi<Context>
      • exportCommand

        public void exportCommand​(Context ctx,
                                  org.yamcs.protobuf.ExportCommandRequest request,
                                  org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer)
        Specified by:
        exportCommand in class org.yamcs.protobuf.AbstractCommandsApi<Context>
      • subscribeCommands

        public void subscribeCommands​(Context ctx,
                                      org.yamcs.protobuf.SubscribeCommandsRequest request,
                                      org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandHistoryEntry> observer)
        Specified by:
        subscribeCommands in class org.yamcs.protobuf.AbstractCommandsApi<Context>
      • streamCommands

        public void streamCommands​(Context ctx,
                                   org.yamcs.protobuf.StreamCommandsRequest request,
                                   org.yamcs.api.Observer<org.yamcs.protobuf.Commanding.CommandHistoryEntry> observer)
        Specified by:
        streamCommands in class org.yamcs.protobuf.AbstractCommandsApi<Context>