java.lang.Object
org.yamcs.protobuf.AbstractServerApi<T>
- All Implemented Interfaces:
Api<T>
- Direct Known Subclasses:
ServerApiClient
@Generated(value="org.yamcs.maven.ServiceGenerator",
date="2025-07-17T22:09:39.305016227Z")
public abstract class AbstractServerApi<T>
extends Object
implements Api<T>
Handles incoming requests related to api routes
-
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) abstract voiddumpThreads(T ctx, com.google.protobuf.Empty request, Observer<HttpBody> observer) Get a text-dump with thread informationfinal com.google.protobuf.Descriptors.ServiceDescriptorabstract voidgetHttpTraffic(T ctx, com.google.protobuf.Empty request, Observer<HttpTraffic> observer) Get HTTP trafficfinal com.google.protobuf.MessagegetRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) final com.google.protobuf.MessagegetResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) abstract voidgetServerInfo(T ctx, com.google.protobuf.Empty request, Observer<GetServerInfoResponse> observer) Get general server infoabstract voidgetSystemInfo(T ctx, com.google.protobuf.Empty request, Observer<SystemInfo> observer) Get system infoabstract voidgetThread(T ctx, GetThreadRequest request, Observer<ThreadInfo> observer) Get info on a single threadabstract voidlistRoutes(T ctx, com.google.protobuf.Empty request, Observer<ListRoutesResponse> observer) List routesabstract voidlistThreads(T ctx, ListThreadsRequest request, Observer<ListThreadsResponse> observer) List threadsabstract voidlistTopics(T ctx, com.google.protobuf.Empty request, Observer<ListTopicsResponse> observer) List topicsabstract voidsubscribeHttpTraffic(T ctx, com.google.protobuf.Empty request, Observer<HttpTraffic> observer) Receive HTTP traffic updatesabstract voidsubscribeSystemInfo(T ctx, com.google.protobuf.Empty request, Observer<SystemInfo> observer) Receive system info updates
-
Constructor Details
-
AbstractServerApi
public AbstractServerApi()
-
-
Method Details
-
getServerInfo
public abstract void getServerInfo(T ctx, com.google.protobuf.Empty request, Observer<GetServerInfoResponse> observer) Get general server info
-
getSystemInfo
public abstract void getSystemInfo(T ctx, com.google.protobuf.Empty request, Observer<SystemInfo> observer) Get system info
-
subscribeSystemInfo
public abstract void subscribeSystemInfo(T ctx, com.google.protobuf.Empty request, Observer<SystemInfo> observer) Receive system info updates
-
listRoutes
public abstract void listRoutes(T ctx, com.google.protobuf.Empty request, Observer<ListRoutesResponse> observer) List routes
-
listTopics
public abstract void listTopics(T ctx, com.google.protobuf.Empty request, Observer<ListTopicsResponse> observer) List topics
-
listThreads
public abstract void listThreads(T ctx, ListThreadsRequest request, Observer<ListThreadsResponse> observer) List threads
-
getThread
Get info on a single thread
-
dumpThreads
public abstract void dumpThreads(T ctx, com.google.protobuf.Empty request, Observer<HttpBody> observer) Get a text-dump with thread information
-
getHttpTraffic
public abstract void getHttpTraffic(T ctx, com.google.protobuf.Empty request, Observer<HttpTraffic> observer) Get HTTP traffic
-
subscribeHttpTraffic
public abstract void subscribeHttpTraffic(T ctx, com.google.protobuf.Empty request, Observer<HttpTraffic> observer) Receive HTTP traffic 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>
-