Files
jami-daemon/test
Sébastien Blin eb0fb2bdc2 ConnectionManager: first version
This patch introduces the first version for the first layer of group chat, the
ConnectionManager.

This class provides an API to get a channel socket between two devices. Behind
that API, channel sockets are working on top of a MultiplexedSocket, working
on top of a TLS Socket.

So, if an user want a socket, they just have to call connectDevice. The manager
will contact the other device through the DHT, negotiate (via the ICE protocol)
a socket, start a TLS session and then open a new channel. Channel 0 is used as
a control channel (to get channel requests and answer). Other channels are for
the user.

When a TLS packet is sent, the format is usually:
| 16 bits = len of the content | 16 bits = channel | content... |

Scenarios are described in the unitTest linked to that patch.

Finally, each Jami accounts has its own ConnectionManager.

Change-Id: I9cdd681e91ca71f24338e728fc382349393c6912
2020-02-14 15:29:13 -05:00
..
2020-01-03 15:04:47 -05:00
2020-01-03 15:04:47 -05:00
2020-02-14 15:29:13 -05:00
2018-05-11 12:54:28 -05:00
2018-10-19 11:03:09 -04:00
2017-08-23 13:53:38 -04:00