client/src/main/java/com/orientechnologies/orient/client/remote/OServerAdmin.java
@Deprecated
  public synchronized Map<String, String> listDatabases() throws IOException {
    OListDatabasesRequest request = new OListDatabasesRequest();
    OListDatabasesResponse response = networkAdminOperation(request, "Cannot retrieve the configuration list");
    return response.getDatabases();
  }
@Deprecated
  public synchronized Map<String, String> listDatabases() throws IOException {
    OListDatabasesRequest request = new OListDatabasesRequest();
    OListDatabasesResponse response = networkAdminOperation(request, "Cannot retrieve the configuration list");
    return response.getDatabases();
  }
Returns the list of databases on the connected remote server.

@throws IOException