Handles incoming requests related to api routes
-
Constructor Summary
Constructors -
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
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 topicsMethods 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>
-
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>
-