Package live.ditto.transports.java

Types

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

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)

Settings not associated with any specific type of transport.

Link copied to clipboard
class DittoGlobalConfigDeserializer : JsonDeserializer<DittoGlobalConfig>
Link copied to clipboard
class DittoGlobalConfigSerializer : JsonSerializer<DittoGlobalConfig>
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)
Link copied to clipboard
data class DittoLanConfig(    var enabled: Boolean = false,     var mdnsEnabled: Boolean = true,     var multicastEnabled: Boolean = true)
Link copied to clipboard
data class DittoTcpListenConfig(var enabled: Boolean = false)
Link copied to clipboard
open class DittoTransportConfig(var connect: DittoConnect = DittoConnect(), var global: DittoGlobalConfig = DittoGlobalConfig())

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

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