if (connection.database.isClosed())
connection.database.open(dbUser, dbPasswd);
OLogManager.instance().info(this, "Importing database '%s' via streaming from remote server node...", dbName);
new ODatabaseImport(connection.database, new OChannelBinaryInputStream(channel), this).importDatabase();
OLogManager.instance().info(this, "Database imported correctly", dbName);
sendOk(lastClientTxId);
channel.writeInt(connection.id);