|
Ditto 5.0.0
|
Represents a connection between two peers in a Ditto mesh network. More...
Public Member Functions | |
| DittoConnection (string id, DittoConnectionType connectionType, string peerKey1, string peerKey2) | |
| Initializes a new instance of the DittoConnection struct. | |
| bool | Equals (DittoConnection other) |
Properties | |
| string | Id [get, set] |
| Unique identifier for the connection. | |
| string | PeerKey1 [get, set] |
| The peer key of the peer at one end of the connection, as a string. | |
| string | PeerKey2 [get, set] |
| The peer key of the peer at the other end of the connection, as a string. | |
| DittoConnectionType | ConnectionType [get, set] |
| Shows connection type. | |
Represents a connection between two peers in a Ditto mesh network.
|
inline |
Initializes a new instance of the DittoConnection struct.
| id | Connection id |
| connectionType | Connection Type |
| peerKey1 | First peer key string |
| peerKey2 | Second peer key string |
|
getset |
Unique identifier for the connection.
This ID is deterministic for any two peers and a given connection type.
|
getset |