-
- All Implemented Interfaces:
-
kotlin.Cloneable
public class DittoConnect implements Cloneable
Specific servers that Ditto should attempt to connect to.
TCP servers are specified as "host:port". Websocket URLs take the form "wss://hydra.ditto.live".
Please refer to the documentation on Ditto's website for configuring cloud or client/server scenarios.
-
-
Field Summary
Fields Modifier and Type Field Description private Set<String>tcpServersprivate Set<String>websocketUrlsprivate LongretryIntervalMs
-
Method Summary
Modifier and Type Method Description Set<String>getTcpServers()UnitsetTcpServers(Set<String> tcpServers)Set<String>getWebsocketUrls()UnitsetWebsocketUrls(Set<String> websocketUrls)LonggetRetryIntervalMs()UnitsetRetryIntervalMs(Long retryIntervalMs)DittoConnectclone()-
-
Method Detail
-
getTcpServers
Set<String> getTcpServers()
-
setTcpServers
Unit setTcpServers(Set<String> tcpServers)
-
getWebsocketUrls
Set<String> getWebsocketUrls()
-
setWebsocketUrls
Unit setWebsocketUrls(Set<String> websocketUrls)
-
getRetryIntervalMs
Long getRetryIntervalMs()
-
setRetryIntervalMs
Unit setRetryIntervalMs(Long retryIntervalMs)
-
clone
DittoConnect clone()
-
-
-
-