Class DittoConnect
java.lang.Object
com.ditto.java.transports.DittoConnect
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for constructing aDittoConnectconfiguration. -
Method Summary
-
Method Details
-
getTcpServers
-
getWebsocketUrls
-
getRetryIntervalMs
public long getRetryIntervalMs()Returns the retry interval in milliseconds for connection attempts.- Returns:
- the retry interval in milliseconds.
-
hashCode
-
equals
-
toString
-