Class DittoLanConfig
java.lang.Object
com.ditto.java.transports.DittoLanConfig
Configuration for Local Area Network (LAN) peer-to-peer transport.
LAN transport allows devices on the same local network to discover and sync with each other
using mDNS and multicast discovery mechanisms.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
isEnabled
public boolean isEnabled()Returns whether LAN transport is enabled.- Returns:
trueif LAN transport is enabled,falseotherwise.
-
isMdnsEnabled
public boolean isMdnsEnabled()Returns whether mDNS (Multicast DNS) discovery is enabled.- Returns:
trueif mDNS is enabled,falseotherwise.
-
isMulticastEnabled
public boolean isMulticastEnabled()Returns whether multicast discovery is enabled.- Returns:
trueif multicast is enabled,falseotherwise.
-
hashCode
-
equals
-
toString
-