Class AbstractTagApi<T>

  • All Implemented Interfaces:
    Api<T>
    Direct Known Subclasses:
    TagApiClient

    public abstract class AbstractTagApi<T>
    extends Object
    implements Api<T>
      Methods for working with 'tags'.
     
      .. warning::
          This API is going to be removed. Use Yamcs Timeline instead
          by adding the service ``org.yamcs.timeline.TimelineService``
          to your instance configuration.
     
    • Constructor Detail

      • AbstractTagApi

        public AbstractTagApi()
    • Method Detail

      • listTags

        public abstract void listTags​(T ctx,
                                      ListTagsRequest request,
                                      Observer<ListTagsResponse> observer)
          List tags
         
          .. warning::
              This method is going to be removed. Use Yamcs Timeline instead
              by adding the service ``org.yamcs.timeline.TimelineService``
              to your instance configuration.
         
      • getTag

        public abstract void getTag​(T ctx,
                                    GetTagRequest request,
                                    Observer<Yamcs.ArchiveTag> observer)
          Get a tag
         
          .. warning::
              This method is going to be removed. Use Yamcs Timeline instead
              by adding the service ``org.yamcs.timeline.TimelineService``
              to your instance configuration.
         
      • createTag

        public abstract void createTag​(T ctx,
                                       CreateTagRequest request,
                                       Observer<Yamcs.ArchiveTag> observer)
          Create a tag
         
          .. warning::
              This method is going to be removed. Use Yamcs Timeline instead
              by adding the service ``org.yamcs.timeline.TimelineService``
              to your instance configuration.
         
      • updateTag

        public abstract void updateTag​(T ctx,
                                       EditTagRequest request,
                                       Observer<Yamcs.ArchiveTag> observer)
          Update a tag
         
          .. warning::
              This method is going to be removed. Use Yamcs Timeline instead
              by adding the service ``org.yamcs.timeline.TimelineService``
              to your instance configuration.
         
      • deleteTag

        public abstract void deleteTag​(T ctx,
                                       DeleteTagRequest request,
                                       Observer<Yamcs.ArchiveTag> observer)
          Delete a tag
         
          .. warning::
              This method is going to be removed. Use Yamcs Timeline instead
              by adding the service ``org.yamcs.timeline.TimelineService``
              to your instance configuration.
         
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface Api<T>
      • getRequestPrototype

        public final com.google.protobuf.Message getRequestPrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getRequestPrototype in interface Api<T>
      • getResponsePrototype

        public final com.google.protobuf.Message getResponsePrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getResponsePrototype in interface Api<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 interface Api<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 interface Api<T>