-
- All Implemented Interfaces:
-
kotlin.Cloneable
public final class DittoPeerToPeer implements Cloneable
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.
-
-
Field Summary
Fields Modifier and Type Field Description private DittoBluetoothLeConfigbluetoothLeprivate DittoLanConfiglanprivate DittoWifiAwareConfigwifiAware
-
Constructor Summary
Constructors Constructor Description DittoPeerToPeer(DittoBluetoothLeConfig bluetoothLe, DittoLanConfig lan, DittoWifiAwareConfig wifiAware)
-
Method Summary
Modifier and Type Method Description final DittoBluetoothLeConfiggetBluetoothLe()final UnitsetBluetoothLe(DittoBluetoothLeConfig bluetoothLe)final DittoLanConfiggetLan()final UnitsetLan(DittoLanConfig lan)final DittoWifiAwareConfiggetWifiAware()final UnitsetWifiAware(DittoWifiAwareConfig wifiAware)DittoPeerToPeerclone()-
-
Constructor Detail
-
DittoPeerToPeer
DittoPeerToPeer(DittoBluetoothLeConfig bluetoothLe, DittoLanConfig lan, DittoWifiAwareConfig wifiAware)
-
-
Method Detail
-
getBluetoothLe
final DittoBluetoothLeConfig getBluetoothLe()
-
setBluetoothLe
final Unit setBluetoothLe(DittoBluetoothLeConfig bluetoothLe)
-
getLan
final DittoLanConfig getLan()
-
setLan
final Unit setLan(DittoLanConfig lan)
-
getWifiAware
final DittoWifiAwareConfig getWifiAware()
-
setWifiAware
final Unit setWifiAware(DittoWifiAwareConfig wifiAware)
-
clone
DittoPeerToPeer clone()
-
-
-
-