X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=library%2Fimpl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fovsdb%2Flib%2FOvsdbClient.java;h=9e9545ed4595e728bbd0741532a922f4aea057a3;hb=3d306908d81236b04c17434a89e931fe37d2df65;hp=6c53193cab4e8d7a02244b0a8a7e514853629f19;hpb=0d6be18102aeb3031144c98e05a52d0c17a3afee;p=ovsdb.git diff --git a/library/impl/src/main/java/org/opendaylight/ovsdb/lib/OvsdbClient.java b/library/impl/src/main/java/org/opendaylight/ovsdb/lib/OvsdbClient.java index 6c53193ca..9e9545ed4 100644 --- a/library/impl/src/main/java/org/opendaylight/ovsdb/lib/OvsdbClient.java +++ b/library/impl/src/main/java/org/opendaylight/ovsdb/lib/OvsdbClient.java @@ -5,7 +5,6 @@ * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ - package org.opendaylight.ovsdb.lib; import com.google.common.util.concurrent.ListenableFuture; @@ -20,6 +19,7 @@ import org.opendaylight.ovsdb.lib.schema.DatabaseSchema; import org.opendaylight.ovsdb.lib.schema.GenericTableSchema; import org.opendaylight.ovsdb.lib.schema.TableSchema; import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable; +import org.opendaylight.ovsdb.lib.schema.typed.TypedDatabaseSchema; /** * The main interface to interact with a device speaking ovsdb protocol in an asynchronous fashion and hence most @@ -38,7 +38,7 @@ public interface OvsdbClient { * @param database name of the database schema * @return DatabaseSchema future */ - ListenableFuture getSchema(String database); + ListenableFuture getSchema(String database); /** * Allows for a mini DSL way of collecting the transactions to be executed against the ovsdb instance. @@ -161,7 +161,7 @@ public interface OvsdbClient { void disconnect(); - DatabaseSchema getDatabaseSchema(String dbName); + TypedDatabaseSchema getDatabaseSchema(String dbName); /** * User friendly convenient methods that make use of TyperUtils.getTypedRowWrapper to create a Typed Row Proxy