|
Ditto 5.0.0
|
Represents a connection between two peers in a Ditto mesh network. More...
Public Member Functions | |
| Connection (const Connection &other)=default | |
| Connection (Connection &&other)=default | |
| Connection & | operator= (const Connection &other)=default |
| Connection & | operator= (Connection &&other)=default |
Public Attributes | |
| std::string | id |
| Unique identifier for the connection. | |
| std::string | peer1 |
| The peer key of the peer at one end of the connection, as a string. | |
| std::string | peer2 |
| The peer key of the peer at the other end of the connection, as a string. | |
| std::string | connection_type |
| Type of transport enabling this connection. | |
Represents a connection between two peers in a Ditto mesh network.
| std::string ditto::Connection::id |
Unique identifier for the connection.
This ID is deterministic for any two peers and a given connection type.
| std::string ditto::Connection::peer1 |