Package org.yamcs.protobuf
Class AbstractTagApi<T>
- java.lang.Object
-
- org.yamcs.protobuf.AbstractTagApi<T>
-
- All Implemented Interfaces:
Api<T>
- Direct Known Subclasses:
TagApiClient
public abstract class AbstractTagApi<T> extends Object implements Api<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractTagApi()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, com.google.protobuf.Message request, Observer<com.google.protobuf.Message> future)
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 tagabstract void
deleteTag(T ctx, DeleteTagRequest request, Observer<Yamcs.ArchiveTag> observer)
Delete a tagcom.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType()
com.google.protobuf.Message
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
com.google.protobuf.Message
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
abstract void
getTag(T ctx, GetTagRequest request, Observer<Yamcs.ArchiveTag> observer)
Get a tagabstract void
listTags(T ctx, ListTagsRequest request, Observer<ListTagsResponse> observer)
List tagsabstract void
updateTag(T ctx, EditTagRequest request, Observer<Yamcs.ArchiveTag> observer)
Update a tag
-
-
-
Method Detail
-
listTags
public abstract void listTags(T ctx, ListTagsRequest request, Observer<ListTagsResponse> observer)
List tags
-
getTag
public abstract void getTag(T ctx, GetTagRequest request, Observer<Yamcs.ArchiveTag> observer)
Get a tag
-
createTag
public abstract void createTag(T ctx, CreateTagRequest request, Observer<Yamcs.ArchiveTag> observer)
Create a tag
-
updateTag
public abstract void updateTag(T ctx, EditTagRequest request, Observer<Yamcs.ArchiveTag> observer)
Update a tag
-
deleteTag
public abstract void deleteTag(T ctx, DeleteTagRequest request, Observer<Yamcs.ArchiveTag> observer)
Delete a tag
-
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>
-
-