Package org.yamcs.protobuf
Class AbstractTagApi<T>
java.lang.Object
org.yamcs.protobuf.AbstractTagApi<T>
- All Implemented Interfaces:
Api<T>
- Direct Known Subclasses:
TagApi
,TagApiClient
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal 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
createTag
(T ctx, CreateTagRequest request, Observer<Yamcs.ArchiveTag> observer) Create a tag .. warning:: This method is going to be removed.abstract void
deleteTag
(T ctx, DeleteTagRequest request, Observer<Yamcs.ArchiveTag> observer) Delete a tag .. warning:: This method is going to be removed.final com.google.protobuf.Descriptors.ServiceDescriptor
final 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
getTag
(T ctx, GetTagRequest request, Observer<Yamcs.ArchiveTag> observer) Get a tag .. warning:: This method is going to be removed.abstract void
listTags
(T ctx, ListTagsRequest request, Observer<ListTagsResponse> observer) List tags .. warning:: This method is going to be removed.abstract void
updateTag
(T ctx, EditTagRequest request, Observer<Yamcs.ArchiveTag> observer) Update a tag .. warning:: This method is going to be removed.
-
Constructor Details
-
AbstractTagApi
public AbstractTagApi()
-
-
Method Details
-
listTags
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
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
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 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>
-