Class DittoListen
java.lang.Object
com.ditto.java.transports.DittoListen
Configure this device as a Ditto server. Disabled by default.
This is advanced usage that is not needed in most situations. Please refer to the documentation
on Ditto's website for scenarios and example configurations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for constructing aDittoListenconfiguration. -
Method Summary
Modifier and TypeMethodDescriptionboolean@NonNull DittoHttpListenConfiggetHttp()Returns the HTTP listen configuration.@NonNull DittoTcpListenConfiggetTcp()Returns the TCP listen configuration.inthashCode()toString()
-
Method Details
-
getTcp
Returns the TCP listen configuration.- Returns:
- the
DittoTcpListenConfigfor accepting TCP connections.
-
getHttp
Returns the HTTP listen configuration.- Returns:
- the
DittoHttpListenConfigfor accepting HTTP/WebSocket connections.
-
hashCode
-
equals
-
toString
-