Package org.yamcs.http.api
Class ServerApi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dumpThreads
(Context ctx, com.google.protobuf.Empty request, Observer<HttpBody> observer) Get a text-dump with thread informationvoid
getHttpTraffic
(Context ctx, com.google.protobuf.Empty request, Observer<HttpTraffic> observer) Get HTTP trafficvoid
getServerInfo
(Context ctx, com.google.protobuf.Empty request, Observer<GetServerInfoResponse> observer) Get general server infovoid
getSystemInfo
(Context ctx, com.google.protobuf.Empty request, Observer<SystemInfo> observer) Get system infovoid
getThread
(Context ctx, GetThreadRequest request, Observer<ThreadInfo> observer) Get info on a single threadvoid
listRoutes
(Context ctx, com.google.protobuf.Empty request, Observer<ListRoutesResponse> observer) List routesvoid
listThreads
(Context ctx, ListThreadsRequest request, Observer<ListThreadsResponse> observer) List threadsvoid
listTopics
(Context ctx, com.google.protobuf.Empty request, Observer<ListTopicsResponse> observer) List topicsvoid
subscribeHttpTraffic
(Context ctx, com.google.protobuf.Empty request, Observer<HttpTraffic> observer) Receive HTTP traffic updatesvoid
subscribeSystemInfo
(Context ctx, com.google.protobuf.Empty request, Observer<SystemInfo> observer) Receive system info updatestoCommandOptionInfo
(CommandOption option) Methods inherited from class org.yamcs.protobuf.AbstractServerApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
ServerApi
-
-
Method Details
-
subscribeSystemInfo
public void subscribeSystemInfo(Context ctx, com.google.protobuf.Empty request, Observer<SystemInfo> observer) Description copied from class:AbstractServerApi
Receive system info updates
- Specified by:
subscribeSystemInfo
in classAbstractServerApi<Context>
-
getSystemInfo
public void getSystemInfo(Context ctx, com.google.protobuf.Empty request, Observer<SystemInfo> observer) Description copied from class:AbstractServerApi
Get system info
- Specified by:
getSystemInfo
in classAbstractServerApi<Context>
-
getServerInfo
public void getServerInfo(Context ctx, com.google.protobuf.Empty request, Observer<GetServerInfoResponse> observer) Description copied from class:AbstractServerApi
Get general server info
- Specified by:
getServerInfo
in classAbstractServerApi<Context>
-
toCommandOptionInfo
-
listRoutes
public void listRoutes(Context ctx, com.google.protobuf.Empty request, Observer<ListRoutesResponse> observer) Description copied from class:AbstractServerApi
List routes
- Specified by:
listRoutes
in classAbstractServerApi<Context>
-
listTopics
public void listTopics(Context ctx, com.google.protobuf.Empty request, Observer<ListTopicsResponse> observer) Description copied from class:AbstractServerApi
List topics
- Specified by:
listTopics
in classAbstractServerApi<Context>
-
getHttpTraffic
public void getHttpTraffic(Context ctx, com.google.protobuf.Empty request, Observer<HttpTraffic> observer) Description copied from class:AbstractServerApi
Get HTTP traffic
- Specified by:
getHttpTraffic
in classAbstractServerApi<Context>
-
subscribeHttpTraffic
public void subscribeHttpTraffic(Context ctx, com.google.protobuf.Empty request, Observer<HttpTraffic> observer) Description copied from class:AbstractServerApi
Receive HTTP traffic updates
- Specified by:
subscribeHttpTraffic
in classAbstractServerApi<Context>
-
listThreads
public void listThreads(Context ctx, ListThreadsRequest request, Observer<ListThreadsResponse> observer) Description copied from class:AbstractServerApi
List threads
- Specified by:
listThreads
in classAbstractServerApi<Context>
-
dumpThreads
public void dumpThreads(Context ctx, com.google.protobuf.Empty request, Observer<HttpBody> observer) Description copied from class:AbstractServerApi
Get a text-dump with thread information
- Specified by:
dumpThreads
in classAbstractServerApi<Context>
-
getThread
Description copied from class:AbstractServerApi
Get info on a single thread
- Specified by:
getThread
in classAbstractServerApi<Context>
-