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) : Cloneable
Content copied to clipboard
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
Content copied to clipboard
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
Content copied to clipboard
Link copied to clipboard
data class DittoLanConfig( var enabled: Boolean = false, var mdnsEnabled: Boolean = true, var multicastEnabled: Boolean = true) : Cloneable
Content copied to clipboard
Link copied to clipboard
open class DittoListen(var tcp: DittoTcpListenConfig = DittoTcpListenConfig(), var http: DittoHttpListenConfig = DittoHttpListenConfig()) : Cloneable
Content copied to clipboard
Configure this device as a Ditto server. Disabled by default.
Link copied to clipboard
data class DittoTcpListenConfig(var enabled: Boolean = false) : Cloneable
Content copied to clipboard
Link copied to clipboard
open class DittoTransportConfig( var connect: DittoConnect = DittoConnect(), var listen: DittoListen = DittoListen(), var global: DittoGlobalConfig = DittoGlobalConfig()) : Cloneable
Content copied to clipboard
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
Content copied to clipboard