Package com.db4o.cs.config
Interface ClientServerFactory
-
- All Known Implementing Classes:
StandardClientServerFactory
public interface ClientServerFactory
factory to open C/S server and client implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectContainer
openClient(ClientConfiguration config, java.lang.String hostName, int port, java.lang.String user, java.lang.String password)
ObjectServer
openServer(ServerConfiguration config, java.lang.String databaseFileName, int port)
-
-
-
Method Detail
-
openClient
ObjectContainer openClient(ClientConfiguration config, java.lang.String hostName, int port, java.lang.String user, java.lang.String password) throws Db4oIOException, OldFormatException, InvalidPasswordException
-
openServer
ObjectServer openServer(ServerConfiguration config, java.lang.String databaseFileName, int port) throws Db4oIOException, IncompatibleFileFormatException, OldFormatException, DatabaseFileLockedException, DatabaseReadOnlyException
-
-