java.lang.Object
org.yamcs.protobuf.AbstractDatabaseApi<Context>
org.yamcs.http.api.DatabaseApi
- All Implemented Interfaces:
org.yamcs.api.Api<Context>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetDatabase(Context ctx, org.yamcs.protobuf.GetDatabaseRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.DatabaseInfo> observer) voidlistDatabases(Context ctx, com.google.protobuf.Empty request, org.yamcs.api.Observer<org.yamcs.protobuf.ListDatabasesResponse> observer) static YarchDatabaseInstanceverifyDatabase(String name) Methods inherited from class org.yamcs.protobuf.AbstractDatabaseApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
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:
listDatabasesin classorg.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:
getDatabasein classorg.yamcs.protobuf.AbstractDatabaseApi<Context>
-
verifyDatabase
-