java.lang.Object
org.yamcs.protobuf.AbstractServicesApi<Context>
org.yamcs.http.api.ServicesApi
- All Implemented Interfaces:
org.yamcs.api.Api<Context>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetService(Context ctx, org.yamcs.protobuf.GetServiceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ServiceInfo> observer) voidlistServices(Context ctx, org.yamcs.protobuf.ListServicesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListServicesResponse> observer) voidstartService(Context ctx, org.yamcs.protobuf.StartServiceRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer) voidstopService(Context ctx, org.yamcs.protobuf.StopServiceRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer) static org.yamcs.protobuf.ServiceInfotoServiceInfo(ProcessorServiceWithConfig serviceWithConfig, String instance, String processor) static org.yamcs.protobuf.ServiceInfotoServiceInfo(ServiceWithConfig serviceWithConfig, String instance, String processor) Methods inherited from class org.yamcs.protobuf.AbstractServicesApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
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:
listServicesin classorg.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:
getServicein classorg.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:
startServicein classorg.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:
stopServicein classorg.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)
-