java.lang.Object
org.yamcs.protobuf.AbstractManagementApi<Context>
org.yamcs.http.api.ManagementApi
- All Implemented Interfaces:
org.yamcs.api.Api<Context>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateInstance(Context ctx, org.yamcs.protobuf.CreateInstanceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.YamcsInstance> observer) voidgetInstance(Context ctx, org.yamcs.protobuf.GetInstanceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.YamcsInstance> observer) voidgetInstanceTemplate(Context ctx, org.yamcs.protobuf.GetInstanceTemplateRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.InstanceTemplate> observer) voidgetService(Context ctx, org.yamcs.protobuf.GetServiceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ServiceInfo> observer) voidgetSystemInfo(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.SystemInfo> observer) voidlistInstances(Context ctx, org.yamcs.protobuf.ListInstancesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListInstancesResponse> observer) voidlistInstanceTemplates(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListInstanceTemplatesResponse> observer) voidlistServices(Context ctx, org.yamcs.protobuf.ListServicesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListServicesResponse> observer) voidreconfigureInstance(Context ctx, org.yamcs.protobuf.ReconfigureInstanceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.YamcsInstance> observer) voidrestartInstance(Context ctx, org.yamcs.protobuf.RestartInstanceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.YamcsInstance> observer) voidstartInstance(Context ctx, org.yamcs.protobuf.StartInstanceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.YamcsInstance> observer) voidstartService(Context ctx, org.yamcs.protobuf.StartServiceRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer) voidstopInstance(Context ctx, org.yamcs.protobuf.StopInstanceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.YamcsInstance> observer) voidstopService(Context ctx, org.yamcs.protobuf.StopServiceRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer) voidsubscribeInstances(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.YamcsInstance> observer) static org.yamcs.protobuf.ServiceInfotoServiceInfo(ProcessorServiceWithConfig serviceWithConfig, String instance, String processor) static org.yamcs.protobuf.ServiceInfotoServiceInfo(ServiceWithConfig serviceWithConfig, String instance, String processor) static StringverifyInstance(String instance) static StringverifyInstance(String instance, boolean allowGlobal) static YamcsServerInstanceverifyInstanceObj(String instance) Methods inherited from class org.yamcs.protobuf.AbstractManagementApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Field Details
-
ALLOWED_INSTANCE_NAMES
-
-
Constructor Details
-
ManagementApi
public ManagementApi()
-
-
Method Details
-
getSystemInfo
public void getSystemInfo(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.SystemInfo> observer) - Specified by:
getSystemInfoin classorg.yamcs.protobuf.AbstractManagementApi<Context>
-
listInstanceTemplates
public void listInstanceTemplates(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListInstanceTemplatesResponse> observer) - Specified by:
listInstanceTemplatesin classorg.yamcs.protobuf.AbstractManagementApi<Context>
-
getInstanceTemplate
public void getInstanceTemplate(Context ctx, org.yamcs.protobuf.GetInstanceTemplateRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.InstanceTemplate> observer) - Specified by:
getInstanceTemplatein classorg.yamcs.protobuf.AbstractManagementApi<Context>
-
listInstances
public void listInstances(Context ctx, org.yamcs.protobuf.ListInstancesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListInstancesResponse> observer) - Specified by:
listInstancesin classorg.yamcs.protobuf.AbstractManagementApi<Context>
-
subscribeInstances
public void subscribeInstances(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.YamcsInstance> observer) - Specified by:
subscribeInstancesin classorg.yamcs.protobuf.AbstractManagementApi<Context>
-
getInstance
public void getInstance(Context ctx, org.yamcs.protobuf.GetInstanceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.YamcsInstance> observer) - Specified by:
getInstancein classorg.yamcs.protobuf.AbstractManagementApi<Context>
-
reconfigureInstance
public void reconfigureInstance(Context ctx, org.yamcs.protobuf.ReconfigureInstanceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.YamcsInstance> observer) - Specified by:
reconfigureInstancein classorg.yamcs.protobuf.AbstractManagementApi<Context>
-
createInstance
public void createInstance(Context ctx, org.yamcs.protobuf.CreateInstanceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.YamcsInstance> observer) - Specified by:
createInstancein classorg.yamcs.protobuf.AbstractManagementApi<Context>
-
startInstance
public void startInstance(Context ctx, org.yamcs.protobuf.StartInstanceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.YamcsInstance> observer) - Specified by:
startInstancein classorg.yamcs.protobuf.AbstractManagementApi<Context>
-
stopInstance
public void stopInstance(Context ctx, org.yamcs.protobuf.StopInstanceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.YamcsInstance> observer) - Specified by:
stopInstancein classorg.yamcs.protobuf.AbstractManagementApi<Context>
-
restartInstance
public void restartInstance(Context ctx, org.yamcs.protobuf.RestartInstanceRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.YamcsInstance> observer) - Specified by:
restartInstancein classorg.yamcs.protobuf.AbstractManagementApi<Context>
-
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.AbstractManagementApi<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.AbstractManagementApi<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.AbstractManagementApi<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.AbstractManagementApi<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) -
verifyInstance
-
verifyInstance
-
verifyInstanceObj
-