DittoSharp
0.1.0-alpha3
|
Public Member Functions | |
DittoKit (DittoIdentity identity=default(DittoIdentity), string workingDir="dittokit", DittoDBConfig dbConfig=default(DittoDBConfig)) | |
int | StartTcpServer (string address) |
int | StartWebsocketServer (string address) |
void | SetAccessLicense (string license) |
Activate a DittoKit instance by setting an access license. You cannot interact with DittoKit before you have activated it. More... | |
void | Dispose () |
Properties | |
static DittoLogLevel | MinimumLogLevel [set] |
Sets the minimum logging level to be printed in the console or stdout. For example if this is set to DittoLogLevel.Warning , then only logs that are logged with the Warning or Error log levels will be shown. More... | |
bool | Activated [get] |
uint | SiteId [get] |
Gets the unique identifier of a peer in Ditto's distributed mesh network. More... | |
DittoStore | Store [get] |
Gets a reference to the embedded data store. More... | |
|
inline |
|
staticset |
Sets the minimum logging level to be printed in the console or stdout. For example if this is set to DittoLogLevel.Warning
, then only logs that are logged with the Warning
or Error
log levels will be shown.
|
get |
Gets the unique identifier of a peer in Ditto's distributed mesh network.
IMPORTANT: This must be unique or the merging and conflict resolution will have unexpected behavior.
|
get |
Gets a reference to the embedded data store.