Свойство | Type | Description | |
---|---|---|---|
m_allServers | List |
||
m_runningServers | RunningServerInfo>.Dictionary |
Свойство | Type | Description | |
---|---|---|---|
EnsureClientIsLocalHost | void | ||
GetCmObjectSurrogates | byte[] | ||
ListConnectedClients | string[] | ||
ListConnectedClients | string[] | ||
ListUniqueAddressConnectedToPort | string[] | ||
ListUniqueAddressConnectedToPorts | string[] | ||
PopulateServerList | void | ||
ShutdownAllServers | void | ||
StopServer | bool |
Méthode | Description | |
---|---|---|
AreProjectShared ( ) : bool |
Gets a value indicating whether projects are shared. (Should only be called on local machine.)
|
|
CreateServerFile ( string projectName ) : void |
Create a db4o database file of given name.
|
|
Db4oServerInfo ( ) : System |
|
|
IsLocalHost ( string hostname ) : bool |
Determine if a given host is local host or not.
|
|
ListRunningServers ( ) : string[] |
TODO make this thread safe
|
|
ListServers ( ) : string[] |
TODO make this thread safe
|
|
RefreshServerList ( ) : void |
Reload the list of servers.
|
|
ShareProjects ( bool enableSharingOfProjects ) : void |
Enables/disables sharing of projects from this machine.
|
|
StartServer ( string projectName, int &port, |
Instruct the Service to start a db4o server.
|
Méthode | Description | |
---|---|---|
EnsureClientIsLocalHost ( ) : void |
If the connected client isn't localhost throws SecurityException
|
|
GetCmObjectSurrogates ( string projectName ) : byte[] | ||
ListConnectedClients ( ) : string[] | ||
ListConnectedClients ( string projectName ) : string[] | ||
ListUniqueAddressConnectedToPort ( int port ) : string[] | ||
ListUniqueAddressConnectedToPorts ( IEnumerable ports ) : string[] | ||
PopulateServerList ( ) : void | ||
ShutdownAllServers ( ) : void |
reset back to initial state. This is only used by unittests.
|
|
StopServer ( string projectName ) : bool |
public CreateServerFile ( string projectName ) : void | ||
projectName | string | the desired name. |
Résultat | void |
public IsLocalHost ( string hostname ) : bool | ||
hostname | string | host name or ipaddress |
Résultat | bool |
public ShareProjects ( bool enableSharingOfProjects ) : void | ||
enableSharingOfProjects | bool | if set to |
Résultat | void |
public StartServer ( string projectName, int &port, |
||
projectName | string | Name of the project to start |
port | int | If succesfully started then set to the port number of the running /// database |
errorinfo | Will be set to the exception if server failed to start | |
Résultat | bool |