final String iRemoteName, final boolean iSynchronousMode) throws IOException {
storage.checkConnection();
try {
final OChannelBinaryClient network = storage.beginRequest(OChannelDistributedProtocol.REQUEST_DISTRIBUTED_DB_SHARE_SENDER);
try {
network.writeString(iDatabaseName);
network.writeString(iDatabaseUserName);
network.writeString(iDatabaseUserPassword);
network.writeString(iRemoteName);
network.writeByte((byte) (iSynchronousMode ? 1 : 0));
} finally {
storage.endRequest(network);
}
storage.getResponse(network);