java.lang.Object
org.yamcs.protobuf.AbstractClearanceApi<T>
- All Implemented Interfaces:
Api<T>
- Direct Known Subclasses:
ClearanceApiClient
@Generated(value="org.yamcs.protoc.ServiceGenerator",
date="2023-09-18T00:21:24.537191463Z")
public abstract class AbstractClearanceApi<T>
extends Object
implements Api<T>
-
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
deleteClearance
(T ctx, DeleteClearanceRequest request, Observer<com.google.protobuf.Empty> observer) Delete a user's clearancefinal 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
listClearances
(T ctx, com.google.protobuf.Empty request, Observer<ListClearancesResponse> observer) List clearancesabstract void
subscribeClearance
(T ctx, com.google.protobuf.Empty request, Observer<ClearanceInfo> observer) Receive updates on own clearanceabstract void
updateClearance
(T ctx, UpdateClearanceRequest request, Observer<ClearanceInfo> observer) Update a user's clearance
-
Constructor Details
-
AbstractClearanceApi
public AbstractClearanceApi()
-
-
Method Details
-
listClearances
public abstract void listClearances(T ctx, com.google.protobuf.Empty request, Observer<ListClearancesResponse> observer) List clearances
-
updateClearance
public abstract void updateClearance(T ctx, UpdateClearanceRequest request, Observer<ClearanceInfo> observer) Update a user's clearance
-
deleteClearance
public abstract void deleteClearance(T ctx, DeleteClearanceRequest request, Observer<com.google.protobuf.Empty> observer) Delete a user's clearance
-
subscribeClearance
public abstract void subscribeClearance(T ctx, com.google.protobuf.Empty request, Observer<ClearanceInfo> observer) Receive updates on own clearance
-
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>
-