Class ServicesApi

java.lang.Object
org.yamcs.protobuf.AbstractServicesApi<Context>
org.yamcs.http.api.ServicesApi
All Implemented Interfaces:
org.yamcs.api.Api<Context>

public class ServicesApi extends org.yamcs.protobuf.AbstractServicesApi<Context>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    getService(Context ctx, org.yamcs.protobuf.GetServiceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ServiceInfo> observer)
     
    void
    listServices(Context ctx, org.yamcs.protobuf.ListServicesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListServicesResponse> observer)
     
    void
    startService(Context ctx, org.yamcs.protobuf.StartServiceRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
     
    void
    stopService(Context ctx, org.yamcs.protobuf.StopServiceRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
     
    static org.yamcs.protobuf.ServiceInfo
    toServiceInfo(ProcessorServiceWithConfig serviceWithConfig, String instance, String processor)
     
    static org.yamcs.protobuf.ServiceInfo
    toServiceInfo(ServiceWithConfig serviceWithConfig, String instance, String processor)
     

    Methods inherited from class org.yamcs.protobuf.AbstractServicesApi

    callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ServicesApi

      public ServicesApi()
  • Method Details

    • listServices

      public void listServices(Context ctx, org.yamcs.protobuf.ListServicesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListServicesResponse> observer)
      Specified by:
      listServices in class org.yamcs.protobuf.AbstractServicesApi<Context>
    • getService

      public void getService(Context ctx, org.yamcs.protobuf.GetServiceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ServiceInfo> observer)
      Specified by:
      getService in class org.yamcs.protobuf.AbstractServicesApi<Context>
    • startService

      public void startService(Context ctx, org.yamcs.protobuf.StartServiceRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
      Specified by:
      startService in class org.yamcs.protobuf.AbstractServicesApi<Context>
    • stopService

      public void stopService(Context ctx, org.yamcs.protobuf.StopServiceRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
      Specified by:
      stopService in class org.yamcs.protobuf.AbstractServicesApi<Context>
    • toServiceInfo

      public static org.yamcs.protobuf.ServiceInfo toServiceInfo(ServiceWithConfig serviceWithConfig, String instance, String processor)
    • toServiceInfo

      public static org.yamcs.protobuf.ServiceInfo toServiceInfo(ProcessorServiceWithConfig serviceWithConfig, String instance, String processor)