Class AbstractWebApi<T>

java.lang.Object
org.yamcs.web.api.AbstractWebApi<T>
All Implemented Interfaces:
Api<T>
Direct Known Subclasses:
WebApi, WebApiClient

@Generated(value="org.yamcs.protoc.ServiceGenerator", date="2024-04-26T10:55:04.999151864Z") public abstract class AbstractWebApi<T> extends Object implements Api<T>
  • Constructor Details

    • AbstractWebApi

      public AbstractWebApi()
  • Method Details

    • getInstanceConfiguration

      public abstract void getInstanceConfiguration(T ctx, GetInstanceConfigurationRequest request, Observer<InstanceConfiguration> observer)
        Get web configuration for an instance
       
    • 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>