Package-level declarations

Types

Link copied to clipboard
open class DittoConnect(var tcpServers: MutableSet<String> = mutableSetOf(), var websocketUrls: MutableSet<String> = mutableSetOf(), var retryIntervalMs: Long = 5000) : Cloneable

Specific servers that Ditto should attempt to connect to.

Link copied to clipboard
data class DittoGlobalConfig(var syncGroup: UInt, var routingHint: UInt = NO_PREFERRED_ROUTE_HINT) : Cloneable

Settings not associated with any specific type of transport.

Link copied to clipboard
data class DittoHttpListenConfig(var enabled: Boolean = false, var interfaceIp: String = "[::]", var port: Int = 80, var staticContentPath: String? = null, var websocketSync: Boolean = false, var tlsKeyPath: String? = null, var tlsCertificatePath: String? = null) : Cloneable
Link copied to clipboard
data class DittoLanConfig(var enabled: Boolean = false, var mdnsEnabled: Boolean = true, var multicastEnabled: Boolean = true) : Cloneable
Link copied to clipboard
open class DittoListen(var tcp: DittoTcpListenConfig = DittoTcpListenConfig(), var http: DittoHttpListenConfig = DittoHttpListenConfig()) : Cloneable

Configure this device as a Ditto server. Disabled by default.

Link copied to clipboard
data class DittoTcpListenConfig(var enabled: Boolean = false) : Cloneable
Link copied to clipboard
open class DittoTransportConfig(var connect: DittoConnect = DittoConnect(), var listen: DittoListen = DittoListen(), var global: DittoGlobalConfig = DittoGlobalConfig()) : Cloneable

A configuration object specifying which network transports Ditto should use to sync data.

Link copied to clipboard
data class DittoWifiAwareConfig(var enabled: Boolean = false) : Cloneable