Package org.yamcs.http.api
Class DatabaseApi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getDatabase
(Context ctx, GetDatabaseRequest request, Observer<DatabaseInfo> observer) Get databasevoid
listDatabases
(Context ctx, com.google.protobuf.Empty request, Observer<ListDatabasesResponse> observer) List databasesstatic YarchDatabaseInstance
verifyDatabase
(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, Observer<ListDatabasesResponse> observer) Description copied from class:AbstractDatabaseApi
List databases
- Specified by:
listDatabases
in classAbstractDatabaseApi<Context>
-
getDatabase
Description copied from class:AbstractDatabaseApi
Get database
- Specified by:
getDatabase
in classAbstractDatabaseApi<Context>
-
verifyDatabase
-