Package org.yamcs.http.api
Class ClientsApi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getClient
(Context ctx, GetClientRequest request, Observer<ClientInfo> observer) Get a client .. warning:: It is recommended to avoid using this method.void
listClients
(Context ctx, com.google.protobuf.Empty request, Observer<ListClientsResponse> observer) List clients .. warning:: It is recommended to avoid using this method.static ClientInfo
toClientInfo
(ConnectedClient client, ClientInfo.ClientState state) void
updateClient
(Context ctx, EditClientRequest request, Observer<com.google.protobuf.Empty> observer) Update a client .. warning:: It is recommended to avoid using this method.Methods inherited from class org.yamcs.protobuf.AbstractClientsApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
ClientsApi
public ClientsApi()
-
-
Method Details
-
listClients
public void listClients(Context ctx, com.google.protobuf.Empty request, Observer<ListClientsResponse> observer) Description copied from class:AbstractClientsApi
List clients .. warning:: It is recommended to avoid using this method. It dates from a time when clients were not knowledgeable about Yamcs and their state had to be managed server-side. Nowadays we are favouring stateless APIs and leave state management entirely to the client software.
- Specified by:
listClients
in classAbstractClientsApi<Context>
-
getClient
Description copied from class:AbstractClientsApi
Get a client .. warning:: It is recommended to avoid using this method. It dates from a time when clients were not knowledgeable about Yamcs and their state had to be managed server-side. Nowadays we are favouring stateless APIs and leave state management entirely to the client software.
- Specified by:
getClient
in classAbstractClientsApi<Context>
-
updateClient
public void updateClient(Context ctx, EditClientRequest request, Observer<com.google.protobuf.Empty> observer) Description copied from class:AbstractClientsApi
Update a client .. warning:: It is recommended to avoid using this method. It dates from a time when clients were not knowledgeable about Yamcs and their state had to be managed server-side. Nowadays we are favouring stateless APIs and leave state management entirely to the client software.
- Specified by:
updateClient
in classAbstractClientsApi<Context>
-
toClientInfo
-