Package org.yamcs.http.api
Class ServerApi
- java.lang.Object
-
- org.yamcs.protobuf.AbstractServerApi<Context>
-
- org.yamcs.http.api.ServerApi
-
-
Constructor Summary
Constructors Constructor Description ServerApi(HttpServer httpServer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseConnection(Context ctx, org.yamcs.protobuf.CloseConnectionRequest request, org.yamcs.api.Observer<com.google.protobuf.Empty> observer)voiddumpThreads(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer)voidgetServerInfo(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.GetServerInfoResponse> observer)voidgetThread(Context ctx, org.yamcs.protobuf.GetThreadRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ThreadInfo> observer)voidlistClientConnections(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListClientConnectionsResponse> observer)voidlistRoutes(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListRoutesResponse> observer)voidlistThreads(Context ctx, org.yamcs.protobuf.ListThreadsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListThreadsResponse> observer)voidlistTopics(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListTopicsResponse> observer)static org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfotoCommandOptionInfo(CommandOption option)
-
-
-
Constructor Detail
-
ServerApi
public ServerApi(HttpServer httpServer)
-
-
Method Detail
-
getServerInfo
public void getServerInfo(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.GetServerInfoResponse> observer)
- Specified by:
getServerInfoin classorg.yamcs.protobuf.AbstractServerApi<Context>
-
toCommandOptionInfo
public static org.yamcs.protobuf.GetServerInfoResponse.CommandOptionInfo toCommandOptionInfo(CommandOption option)
-
listRoutes
public void listRoutes(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListRoutesResponse> observer)
- Specified by:
listRoutesin classorg.yamcs.protobuf.AbstractServerApi<Context>
-
listTopics
public void listTopics(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListTopicsResponse> observer)
- Specified by:
listTopicsin classorg.yamcs.protobuf.AbstractServerApi<Context>
-
listClientConnections
public void listClientConnections(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListClientConnectionsResponse> observer)
- Specified by:
listClientConnectionsin classorg.yamcs.protobuf.AbstractServerApi<Context>
-
listThreads
public void listThreads(Context ctx, org.yamcs.protobuf.ListThreadsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListThreadsResponse> observer)
- Specified by:
listThreadsin classorg.yamcs.protobuf.AbstractServerApi<Context>
-
dumpThreads
public void dumpThreads(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer)
- Specified by:
dumpThreadsin classorg.yamcs.protobuf.AbstractServerApi<Context>
-
getThread
public void getThread(Context ctx, org.yamcs.protobuf.GetThreadRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ThreadInfo> observer)
- Specified by:
getThreadin classorg.yamcs.protobuf.AbstractServerApi<Context>
-
-