Class DatabaseApi

java.lang.Object
org.yamcs.protobuf.AbstractDatabaseApi<Context>
org.yamcs.http.api.DatabaseApi
All Implemented Interfaces:
org.yamcs.api.Api<Context>

public class DatabaseApi extends org.yamcs.protobuf.AbstractDatabaseApi<Context>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    getDatabase(Context ctx, org.yamcs.protobuf.GetDatabaseRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.DatabaseInfo> observer)
     
    void
    listDatabases(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListDatabasesResponse> observer)
     
     

    Methods inherited from class org.yamcs.protobuf.AbstractDatabaseApi

    callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DatabaseApi

      public DatabaseApi()
  • Method Details

    • listDatabases

      public void listDatabases(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListDatabasesResponse> observer)
      Specified by:
      listDatabases in class org.yamcs.protobuf.AbstractDatabaseApi<Context>
    • getDatabase

      public void getDatabase(Context ctx, org.yamcs.protobuf.GetDatabaseRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.DatabaseInfo> observer)
      Specified by:
      getDatabase in class org.yamcs.protobuf.AbstractDatabaseApi<Context>
    • verifyDatabase

      public static YarchDatabaseInstance verifyDatabase(String name)