Package org.yamcs.protobuf
Class ServerApiClient
- java.lang.Object
-
- org.yamcs.protobuf.AbstractServerApi<Void>
-
- org.yamcs.protobuf.ServerApiClient
-
public class ServerApiClient extends AbstractServerApi<Void>
Handles incoming requests related to api routes
-
-
Constructor Summary
Constructors Constructor Description ServerApiClient(MethodHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseConnection(Void ctx, CloseConnectionRequest request, Observer<com.google.protobuf.Empty> observer)Close a client connectionvoiddumpThreads(Void ctx, com.google.protobuf.Empty request, Observer<HttpBody> observer)Get a text-dump with thread informationvoidgetServerInfo(Void ctx, com.google.protobuf.Empty request, Observer<GetServerInfoResponse> observer)Get general server infovoidgetThread(Void ctx, GetThreadRequest request, Observer<ThreadInfo> observer)Get info on a single threadvoidlistClientConnections(Void ctx, com.google.protobuf.Empty request, Observer<ListClientConnectionsResponse> observer)List client connectionsvoidlistRoutes(Void ctx, com.google.protobuf.Empty request, Observer<ListRoutesResponse> observer)List routesvoidlistThreads(Void ctx, ListThreadsRequest request, Observer<ListThreadsResponse> observer)List threadsvoidlistTopics(Void ctx, com.google.protobuf.Empty request, Observer<ListTopicsResponse> observer)List topics-
Methods inherited from class org.yamcs.protobuf.AbstractServerApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
-
-
-
Constructor Detail
-
ServerApiClient
public ServerApiClient(MethodHandler handler)
-
-
Method Detail
-
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
public final void getThread(Void ctx, GetThreadRequest request, Observer<ThreadInfo> observer)
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>
-
listClientConnections
public final void listClientConnections(Void ctx, com.google.protobuf.Empty request, Observer<ListClientConnectionsResponse> observer)
List client connections
- Specified by:
listClientConnectionsin classAbstractServerApi<Void>
-
closeConnection
public final void closeConnection(Void ctx, CloseConnectionRequest request, Observer<com.google.protobuf.Empty> observer)
Close a client connection
- Specified by:
closeConnectionin classAbstractServerApi<Void>
-
-