java.lang.Object
org.yamcs.web.api.AbstractWebApi<T>
- All Implemented Interfaces:
org.yamcs.api.Api<T>
- Direct Known Subclasses:
WebApi,WebApiClient
@Generated(value="org.yamcs.protoc.ServiceGenerator",
date="2023-11-03T10:10:47.127653750Z")
public abstract class AbstractWebApi<T>
extends Object
implements org.yamcs.api.Api<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidcallMethod(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, com.google.protobuf.Message request, org.yamcs.api.Observer<com.google.protobuf.Message> future) final org.yamcs.api.Observer<com.google.protobuf.Message>callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, org.yamcs.api.Observer<com.google.protobuf.Message> future) final com.google.protobuf.Descriptors.ServiceDescriptorabstract voidgetInstanceConfiguration(T ctx, GetInstanceConfigurationRequest request, org.yamcs.api.Observer<InstanceConfiguration> observer) Get web configuration for an instancefinal com.google.protobuf.MessagegetRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) final com.google.protobuf.MessagegetResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
-
Constructor Details
-
AbstractWebApi
public AbstractWebApi()
-
-
Method Details
-
getInstanceConfiguration
public abstract void getInstanceConfiguration(T ctx, GetInstanceConfigurationRequest request, org.yamcs.api.Observer<InstanceConfiguration> observer) Get web configuration for an instance
-
getDescriptorForType
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceorg.yamcs.api.Api<T>
-
getRequestPrototype
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) - Specified by:
getRequestPrototypein interfaceorg.yamcs.api.Api<T>
-
getResponsePrototype
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) - Specified by:
getResponsePrototypein interfaceorg.yamcs.api.Api<T>
-
callMethod
public final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, com.google.protobuf.Message request, org.yamcs.api.Observer<com.google.protobuf.Message> future) - Specified by:
callMethodin interfaceorg.yamcs.api.Api<T>
-
callMethod
public final org.yamcs.api.Observer<com.google.protobuf.Message> callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, org.yamcs.api.Observer<com.google.protobuf.Message> future) - Specified by:
callMethodin interfaceorg.yamcs.api.Api<T>
-