Package org.yamcs.studio.spell.api
Class AbstractStudioSpellApi<T>
java.lang.Object
org.yamcs.studio.spell.api.AbstractStudioSpellApi<T>
- All Implemented Interfaces:
Api<T>
- Direct Known Subclasses:
StudioSpellApiClient
@Generated(value="org.yamcs.maven.ServiceGenerator",
date="2024-11-20T19:17:38.723887327Z")
public abstract class AbstractStudioSpellApi<T>
extends Object
implements Api<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal 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) final com.google.protobuf.Descriptors.ServiceDescriptor
final 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
listProcedures
(T ctx, ListProceduresRequest request, Observer<ListProceduresResponse> observer) abstract void
startProcedure
(T ctx, StartProcedureRequest request, Observer<ExecutorInfo> observer)
-
Constructor Details
-
AbstractStudioSpellApi
public AbstractStudioSpellApi()
-
-
Method Details
-
listProcedures
public abstract void listProcedures(T ctx, ListProceduresRequest request, Observer<ListProceduresResponse> observer) -
startProcedure
public abstract void startProcedure(T ctx, StartProcedureRequest request, Observer<ExecutorInfo> observer) -
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>
-