Handles incoming requests related to api routes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voiddumpThreads(Void ctx, com.google.protobuf.Empty request, Observer<HttpBody> observer) Get a text-dump with thread informationfinal voidgetHttpTraffic(Void ctx, com.google.protobuf.Empty request, Observer<HttpTraffic> observer) Get HTTP trafficfinal voidgetServerInfo(Void ctx, com.google.protobuf.Empty request, Observer<GetServerInfoResponse> observer) Get general server infofinal voidgetThread(Void ctx, GetThreadRequest request, Observer<ThreadInfo> observer) Get info on a single threadfinal voidlistRoutes(Void ctx, com.google.protobuf.Empty request, Observer<ListRoutesResponse> observer) List routesfinal voidlistThreads(Void ctx, ListThreadsRequest request, Observer<ListThreadsResponse> observer) List threadsfinal voidlistTopics(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:
getServerInfoin classAbstractServerApi<Void>
-
listRoutes
public final void listRoutes(Void ctx, com.google.protobuf.Empty request, Observer<ListRoutesResponse> observer) List routes
- Specified by:
listRoutesin classAbstractServerApi<Void>
-
listTopics
public final void listTopics(Void ctx, com.google.protobuf.Empty request, Observer<ListTopicsResponse> observer) List topics
- Specified by:
listTopicsin classAbstractServerApi<Void>
-
listThreads
public final void listThreads(Void ctx, ListThreadsRequest request, Observer<ListThreadsResponse> observer) List threads
- Specified by:
listThreadsin classAbstractServerApi<Void>
-
getThread
Get info on a single thread
- Specified by:
getThreadin 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:
dumpThreadsin classAbstractServerApi<Void>
-
getHttpTraffic
public final void getHttpTraffic(Void ctx, com.google.protobuf.Empty request, Observer<HttpTraffic> observer) Get HTTP traffic
- Specified by:
getHttpTrafficin classAbstractServerApi<Void>
-