java.lang.Object
org.yamcs.protobuf.AbstractReplicationApi<T>
- All Implemented Interfaces:
Api<T>
- Direct Known Subclasses:
ReplicationApiClient
@Generated(value="org.yamcs.maven.ServiceGenerator",
date="2024-09-01T14:02:01.022840547Z")
public abstract class AbstractReplicationApi<T>
extends Object
implements Api<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidcallMethod(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.ServiceDescriptorabstract voidgetReplicationInfo(T ctx, com.google.protobuf.Empty request, Observer<ReplicationInfo> observer) Get replication infofinal com.google.protobuf.MessagegetRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) final com.google.protobuf.MessagegetResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) abstract voidsubscribeReplicationInfo(T ctx, com.google.protobuf.Empty request, Observer<ReplicationInfo> observer) Receive replication updates
-
Constructor Details
-
AbstractReplicationApi
public AbstractReplicationApi()
-
-
Method Details
-
getReplicationInfo
public abstract void getReplicationInfo(T ctx, com.google.protobuf.Empty request, Observer<ReplicationInfo> observer) Get replication info
-
subscribeReplicationInfo
public abstract void subscribeReplicationInfo(T ctx, com.google.protobuf.Empty request, Observer<ReplicationInfo> observer) Receive replication updates
-
getDescriptorForType
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceApi<T>
-
getRequestPrototype
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) - Specified by:
getRequestPrototypein interfaceApi<T>
-
getResponsePrototype
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) - Specified by:
getResponsePrototypein 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:
callMethodin 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:
callMethodin interfaceApi<T>
-