DittoConnection
Represents a connection between two peers on the Ditto mesh network.
-
Unique identifier for the connection.
-
Type of transport enabling this connection.
-
The peer key of the peer at one end of the connection.
-
The peer key of the peer at the other end of the connection.
-
Estimate of distance to the remote peer. This value is inaccurate. The environment, hardware, and several other factors can greatly affect this value. It is currently derived from RSSI.
-
Initialize a new connection.