Class ClientsApi

  • All Implemented Interfaces:
    org.yamcs.api.Api<Context>

    public class ClientsApi
    extends org.yamcs.protobuf.AbstractClientsApi<Context>
    • Constructor Detail

      • ClientsApi

        public ClientsApi()
    • Method Detail

      • listClients

        public void listClients​(Context ctx,
                                com.google.protobuf.Empty request,
                                org.yamcs.api.Observer<org.yamcs.protobuf.ListClientsResponse> observer)
        Specified by:
        listClients in class org.yamcs.protobuf.AbstractClientsApi<Context>
      • getClient

        public void getClient​(Context ctx,
                              org.yamcs.protobuf.GetClientRequest request,
                              org.yamcs.api.Observer<org.yamcs.protobuf.ClientInfo> observer)
        Specified by:
        getClient in class org.yamcs.protobuf.AbstractClientsApi<Context>
      • updateClient

        public void updateClient​(Context ctx,
                                 org.yamcs.protobuf.EditClientRequest request,
                                 org.yamcs.api.Observer<com.google.protobuf.Empty> observer)
        Specified by:
        updateClient in class org.yamcs.protobuf.AbstractClientsApi<Context>
      • toClientInfo

        public static org.yamcs.protobuf.ClientInfo toClientInfo​(ConnectedClient client,
                                                                 org.yamcs.protobuf.ClientInfo.ClientState state)