public class ServerApiClient extends AbstractServerApi<Void>
Handles incoming requests related to api routes
| Constructor and Description |
|---|
ServerApiClient(MethodHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection(Void ctx,
CloseConnectionRequest request,
Observer<com.google.protobuf.Empty> observer)
Close a client connection
|
void |
dumpThreads(Void ctx,
com.google.protobuf.Empty request,
Observer<HttpBody> observer)
Get a text-dump with thread information
|
void |
getServerInfo(Void ctx,
com.google.protobuf.Empty request,
Observer<GetServerInfoResponse> observer)
Get general server info
|
void |
getThread(Void ctx,
GetThreadRequest request,
Observer<ThreadInfo> observer)
Get info on a single thread
|
void |
listClientConnections(Void ctx,
com.google.protobuf.Empty request,
Observer<ListClientConnectionsResponse> observer)
List client connections
|
void |
listRoutes(Void ctx,
com.google.protobuf.Empty request,
Observer<ListRoutesResponse> observer)
List routes
|
void |
listThreads(Void ctx,
ListThreadsRequest request,
Observer<ListThreadsResponse> observer)
List threads
|
void |
listTopics(Void ctx,
com.google.protobuf.Empty request,
Observer<ListTopicsResponse> observer)
List topics
|
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototypepublic ServerApiClient(MethodHandler handler)
public final void getServerInfo(Void ctx, com.google.protobuf.Empty request, Observer<GetServerInfoResponse> observer)
Get general server info
getServerInfo in class AbstractServerApi<Void>public final void listRoutes(Void ctx, com.google.protobuf.Empty request, Observer<ListRoutesResponse> observer)
List routes
listRoutes in class AbstractServerApi<Void>public final void listTopics(Void ctx, com.google.protobuf.Empty request, Observer<ListTopicsResponse> observer)
List topics
listTopics in class AbstractServerApi<Void>public final void listThreads(Void ctx, ListThreadsRequest request, Observer<ListThreadsResponse> observer)
List threads
listThreads in class AbstractServerApi<Void>public final void getThread(Void ctx, GetThreadRequest request, Observer<ThreadInfo> observer)
Get info on a single thread
getThread in class AbstractServerApi<Void>public final void dumpThreads(Void ctx, com.google.protobuf.Empty request, Observer<HttpBody> observer)
Get a text-dump with thread information
dumpThreads in class AbstractServerApi<Void>public final void listClientConnections(Void ctx, com.google.protobuf.Empty request, Observer<ListClientConnectionsResponse> observer)
List client connections
listClientConnections in class AbstractServerApi<Void>public final void closeConnection(Void ctx, CloseConnectionRequest request, Observer<com.google.protobuf.Empty> observer)
Close a client connection
closeConnection in class AbstractServerApi<Void>Copyright © 2020 Space Applications Services. All rights reserved.