Class DittoPeerToPeer
java.lang.Object
com.ditto.java.transports.DittoPeerToPeer
Configuration of peer-to-peer transports, which are able to discover and connect to peers on their own.
For more information refer to the documentation for
DittoTransportConfig.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for constructing aDittoPeerToPeerconfiguration. -
Method Summary
Modifier and TypeMethodDescriptionboolean@NonNull DittoBluetoothLeConfigReturns the Bluetooth Low Energy transport configuration.@NonNull DittoLanConfiggetLan()Returns the LAN transport configuration.@NonNull DittoWifiAwareConfigReturns the Wi-Fi Aware transport configuration.inthashCode()toString()
-
Method Details
-
getBluetoothLe
Returns the Bluetooth Low Energy transport configuration.- Returns:
- the
DittoBluetoothLeConfigfor Bluetooth LE peer-to-peer sync.
-
getLan
Returns the LAN transport configuration.- Returns:
- the
DittoLanConfigfor local area network peer-to-peer sync.
-
getWifiAware
Returns the Wi-Fi Aware transport configuration.- Returns:
- the
DittoWifiAwareConfigfor Wi-Fi Aware peer-to-peer sync.
-
hashCode
-
equals
-
toString
-