opens an ObjectServer on the specified database file and port.
If the server does not need to listen on a port because it will only be used in embedded mode with com.db4o.ObjectServer.openClient , specify '0' as the port number.
[Visual Basic] Shared Public Function openServer( _ ByVal databaseFileName As String, _ ByVal port As Integer _ ) As ObjectServer [C#] public static ObjectServer openServer( string databaseFileName, int port ); [C++] public: static ObjectServer* openServer( String* databaseFileName, int port ); [JScript] public static function openServer( String databaseFileName, int port ): ObjectServer;
an ObjectServer listening on the specified port.
Db4o Class | com.db4o Namespace | com.db4o.config.Configuration.readOnly | com.db4o.config.Configuration.encrypt | com.db4o.config.Configuration.password