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 |
getServerInfo(Void ctx,
com.google.protobuf.Empty request,
Observer<GetServerInfoResponse> observer)
Get general server info
|
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 |
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 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.