Package org.yamcs.protobuf
Class AbstractMdbApi<T>
java.lang.Object
org.yamcs.protobuf.AbstractMdbApi<T>
- All Implemented Interfaces:
Api<T>
- Direct Known Subclasses:
MdbApi
,MdbApiClient
@Generated(value="org.yamcs.maven.ServiceGenerator",
date="2024-12-10T15:41:02.495818775Z")
public abstract class AbstractMdbApi<T>
extends Object
implements Api<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
batchGetParameters
(T ctx, Mdb.BatchGetParametersRequest request, Observer<Mdb.BatchGetParametersResponse> observer) Batch get of multiple parametersfinal void
callMethod
(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, com.google.protobuf.Message request, Observer<com.google.protobuf.Message> future) final Observer<com.google.protobuf.Message>
callMethod
(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, Observer<com.google.protobuf.Message> future) abstract void
createParameter
(T ctx, Mdb.CreateParameterRequest request, Observer<Mdb.ParameterInfo> observer) Create a parameterabstract void
createParameterType
(T ctx, Mdb.CreateParameterTypeRequest request, Observer<Mdb.ParameterTypeInfo> observer) Create a parameter typeabstract void
exportJavaMissionDatabase
(T ctx, Mdb.ExportJavaMissionDatabaseRequest request, Observer<HttpBody> observer) Export a java serialized dump of the mission databaseabstract void
exportXtce
(T ctx, Mdb.ExportXtceRequest request, Observer<HttpBody> observer) Export an XTCE representation of a space system.abstract void
getAlgorithm
(T ctx, Mdb.GetAlgorithmRequest request, Observer<Mdb.AlgorithmInfo> observer) Get an algorithmabstract void
getCommand
(T ctx, Mdb.GetCommandRequest request, Observer<Mdb.CommandInfo> observer) Get a commandabstract void
getContainer
(T ctx, Mdb.GetContainerRequest request, Observer<Mdb.ContainerInfo> observer) Get a containerfinal com.google.protobuf.Descriptors.ServiceDescriptor
abstract void
getMissionDatabase
(T ctx, Mdb.GetMissionDatabaseRequest request, Observer<Mdb.MissionDatabase> observer) Get a mission databaseabstract void
getParameter
(T ctx, Mdb.GetParameterRequest request, Observer<Mdb.ParameterInfo> observer) Get a parameterabstract void
getParameterType
(T ctx, Mdb.GetParameterTypeRequest request, Observer<Mdb.ParameterTypeInfo> observer) Get a parameter typefinal com.google.protobuf.Message
getRequestPrototype
(com.google.protobuf.Descriptors.MethodDescriptor method) final com.google.protobuf.Message
getResponsePrototype
(com.google.protobuf.Descriptors.MethodDescriptor method) abstract void
getSpaceSystem
(T ctx, Mdb.GetSpaceSystemRequest request, Observer<Mdb.SpaceSystemInfo> observer) Get a space systemabstract void
listAlgorithms
(T ctx, Mdb.ListAlgorithmsRequest request, Observer<Mdb.ListAlgorithmsResponse> observer) List algorithmsabstract void
listCommands
(T ctx, Mdb.ListCommandsRequest request, Observer<Mdb.ListCommandsResponse> observer) List commandsabstract void
listContainers
(T ctx, Mdb.ListContainersRequest request, Observer<Mdb.ListContainersResponse> observer) List containersabstract void
listParameters
(T ctx, Mdb.ListParametersRequest request, Observer<Mdb.ListParametersResponse> observer) List parametersabstract void
listParameterTypes
(T ctx, Mdb.ListParameterTypesRequest request, Observer<Mdb.ListParameterTypesResponse> observer) List parameter typesabstract void
listSpaceSystems
(T ctx, Mdb.ListSpaceSystemsRequest request, Observer<Mdb.ListSpaceSystemsResponse> observer) List space systemsabstract void
streamMissionDatabase
(T ctx, Mdb.StreamMissionDatabaseRequest request, Observer<Mdb.MissionDatabaseItem> observer) Stream Mission Database items.
-
Constructor Details
-
AbstractMdbApi
public AbstractMdbApi()
-
-
Method Details
-
getMissionDatabase
public abstract void getMissionDatabase(T ctx, Mdb.GetMissionDatabaseRequest request, Observer<Mdb.MissionDatabase> observer) Get a mission database
-
exportJavaMissionDatabase
public abstract void exportJavaMissionDatabase(T ctx, Mdb.ExportJavaMissionDatabaseRequest request, Observer<HttpBody> observer) Export a java serialized dump of the mission database
-
listSpaceSystems
public abstract void listSpaceSystems(T ctx, Mdb.ListSpaceSystemsRequest request, Observer<Mdb.ListSpaceSystemsResponse> observer) List space systems
-
getSpaceSystem
public abstract void getSpaceSystem(T ctx, Mdb.GetSpaceSystemRequest request, Observer<Mdb.SpaceSystemInfo> observer) Get a space system
-
exportXtce
Export an XTCE representation of a space system. If the requested space system is not the root, containers will have their qualified name stripped by the top name. In addition there may also be references to objects from space systems that are not part of the export.
-
streamMissionDatabase
public abstract void streamMissionDatabase(T ctx, Mdb.StreamMissionDatabaseRequest request, Observer<Mdb.MissionDatabaseItem> observer) Stream Mission Database items. This operation is intended for tools that need to efficiently fetch the full list of parameters or commands, without using repeated pagination-based requests.
-
listParameters
public abstract void listParameters(T ctx, Mdb.ListParametersRequest request, Observer<Mdb.ListParametersResponse> observer) List parameters
-
getParameter
public abstract void getParameter(T ctx, Mdb.GetParameterRequest request, Observer<Mdb.ParameterInfo> observer) Get a parameter
-
createParameter
public abstract void createParameter(T ctx, Mdb.CreateParameterRequest request, Observer<Mdb.ParameterInfo> observer) Create a parameter
-
batchGetParameters
public abstract void batchGetParameters(T ctx, Mdb.BatchGetParametersRequest request, Observer<Mdb.BatchGetParametersResponse> observer) Batch get of multiple parameters
-
listParameterTypes
public abstract void listParameterTypes(T ctx, Mdb.ListParameterTypesRequest request, Observer<Mdb.ListParameterTypesResponse> observer) List parameter types
-
getParameterType
public abstract void getParameterType(T ctx, Mdb.GetParameterTypeRequest request, Observer<Mdb.ParameterTypeInfo> observer) Get a parameter type
-
createParameterType
public abstract void createParameterType(T ctx, Mdb.CreateParameterTypeRequest request, Observer<Mdb.ParameterTypeInfo> observer) Create a parameter type
-
listContainers
public abstract void listContainers(T ctx, Mdb.ListContainersRequest request, Observer<Mdb.ListContainersResponse> observer) List containers
-
getContainer
public abstract void getContainer(T ctx, Mdb.GetContainerRequest request, Observer<Mdb.ContainerInfo> observer) Get a container
-
listCommands
public abstract void listCommands(T ctx, Mdb.ListCommandsRequest request, Observer<Mdb.ListCommandsResponse> observer) List commands
-
getCommand
public abstract void getCommand(T ctx, Mdb.GetCommandRequest request, Observer<Mdb.CommandInfo> observer) Get a command
-
listAlgorithms
public abstract void listAlgorithms(T ctx, Mdb.ListAlgorithmsRequest request, Observer<Mdb.ListAlgorithmsResponse> observer) List algorithms
-
getAlgorithm
public abstract void getAlgorithm(T ctx, Mdb.GetAlgorithmRequest request, Observer<Mdb.AlgorithmInfo> observer) Get an algorithm
-
getDescriptorForType
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfaceApi<T>
-
getRequestPrototype
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) - Specified by:
getRequestPrototype
in interfaceApi<T>
-
getResponsePrototype
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) - Specified by:
getResponsePrototype
in interfaceApi<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 interfaceApi<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 interfaceApi<T>
-