Class ClientsApiClient

  • All Implemented Interfaces:
    Api<Void>

    public class ClientsApiClient
    extends AbstractClientsApi<Void>
      Methods for working with 'clients'.
     
      .. warning::
          This API is gradually being phased out and subject to removal.
          It dates from a time when client software was not knowledgeable about
          Yamcs and where their state (instance, processor) had to be managed
          server-side.
     
    • Constructor Detail

      • ClientsApiClient

        public ClientsApiClient​(MethodHandler handler)
    • Method Detail

      • listClients

        public final void listClients​(Void ctx,
                                      com.google.protobuf.Empty request,
                                      Observer<ListClientsResponse> observer)
          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 class AbstractClientsApi<Void>
      • getClient

        public final void getClient​(Void ctx,
                                    GetClientRequest request,
                                    Observer<ClientInfo> observer)
          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 class AbstractClientsApi<Void>
      • updateClient

        public final void updateClient​(Void ctx,
                                       EditClientRequest request,
                                       Observer<com.google.protobuf.Empty> observer)
          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 class AbstractClientsApi<Void>