Package org.yamcs.protobuf
Class ServerApiClient
@Generated(value="org.yamcs.protoc.ServiceGenerator",
date="2024-04-22T11:12:45.250301281Z")
public class ServerApiClient
extends AbstractServerApi<Void>
Handles incoming requests related to api routes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
dumpThreads
(Void ctx, com.google.protobuf.Empty request, Observer<HttpBody> observer) Get a text-dump with thread informationfinal void
getHttpTraffic
(Void ctx, com.google.protobuf.Empty request, Observer<HttpTraffic> observer) Get HTTP trafficfinal void
getServerInfo
(Void ctx, com.google.protobuf.Empty request, Observer<GetServerInfoResponse> observer) Get general server infofinal void
getSystemInfo
(Void ctx, com.google.protobuf.Empty request, Observer<SystemInfo> observer) Get system infofinal void
getThread
(Void ctx, GetThreadRequest request, Observer<ThreadInfo> observer) Get info on a single threadfinal void
listRoutes
(Void ctx, com.google.protobuf.Empty request, Observer<ListRoutesResponse> observer) List routesfinal void
listThreads
(Void ctx, ListThreadsRequest request, Observer<ListThreadsResponse> observer) List threadsfinal void
listTopics
(Void ctx, com.google.protobuf.Empty request, Observer<ListTopicsResponse> observer) List topicsfinal void
subscribeSystemInfo
(Void ctx, com.google.protobuf.Empty request, Observer<SystemInfo> observer) Receive system info updatesMethods inherited from class org.yamcs.protobuf.AbstractServerApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
ServerApiClient
-
-
Method Details
-
getServerInfo
public final void getServerInfo(Void ctx, com.google.protobuf.Empty request, Observer<GetServerInfoResponse> observer) Get general server info
- Specified by:
getServerInfo
in classAbstractServerApi<Void>
-
getSystemInfo
public final void getSystemInfo(Void ctx, com.google.protobuf.Empty request, Observer<SystemInfo> observer) Get system info
- Specified by:
getSystemInfo
in classAbstractServerApi<Void>
-
subscribeSystemInfo
public final void subscribeSystemInfo(Void ctx, com.google.protobuf.Empty request, Observer<SystemInfo> observer) Receive system info updates
- Specified by:
subscribeSystemInfo
in classAbstractServerApi<Void>
-
listRoutes
public final void listRoutes(Void ctx, com.google.protobuf.Empty request, Observer<ListRoutesResponse> observer) List routes
- Specified by:
listRoutes
in classAbstractServerApi<Void>
-
listTopics
public final void listTopics(Void ctx, com.google.protobuf.Empty request, Observer<ListTopicsResponse> observer) List topics
- Specified by:
listTopics
in classAbstractServerApi<Void>
-
listThreads
public final void listThreads(Void ctx, ListThreadsRequest request, Observer<ListThreadsResponse> observer) List threads
- Specified by:
listThreads
in classAbstractServerApi<Void>
-
getThread
Get info on a single thread
- Specified by:
getThread
in classAbstractServerApi<Void>
-
dumpThreads
public final void dumpThreads(Void ctx, com.google.protobuf.Empty request, Observer<HttpBody> observer) Get a text-dump with thread information
- Specified by:
dumpThreads
in classAbstractServerApi<Void>
-
getHttpTraffic
public final void getHttpTraffic(Void ctx, com.google.protobuf.Empty request, Observer<HttpTraffic> observer) Get HTTP traffic
- Specified by:
getHttpTraffic
in classAbstractServerApi<Void>
-