Commit graph

19 commits

Author SHA1 Message Date
Joscha
2529c2d238 Rewrite session and connection
A session and connection now have a room assigned to them for their lifetime.
You can't connect a session to another room.
The launch() function must only be called once.
2017-04-02 20:10:59 +00:00
Joscha
c4fdb2942e Change switching rooms 2017-04-02 14:26:03 +00:00
Joscha
e9354194cf Deal with almost all other (useful) events and commands 2017-03-29 20:25:43 +00:00
Joscha
14bae17104 Handle connecting to rooms 2017-03-29 17:24:29 +00:00
Joscha
04f7c9c781 Change "add_callback" functions to "subscribe" functions 2017-03-28 20:52:39 +00:00
Joscha
1b9d12d253 Revise Connection room switching logic 2017-03-28 20:27:21 +00:00
Joscha
f1314c7ec1 Add context handlers to Connection and use system ca_cert file 2017-03-28 16:24:32 +00:00
Joscha
aee8e5c118 Clean up Connection and add logging 2017-03-28 13:41:20 +00:00
Joscha
52f6b14838 Add error handling 2016-05-23 22:56:44 +02:00
Joscha
fbd7360914 Fix threading 2016-05-23 16:24:17 +02:00
Joscha
0159043895 Fix spelling mistkae 2016-05-23 02:40:49 +02:00
Joscha
b0d9953ed8 Make disconnect function public 2016-05-10 19:54:04 +02:00
Joscha
7e1947bd04 Move room format string to connection class 2016-05-10 16:54:18 +02:00
Joscha
4933caa6a9 Add url format as optional argument 2016-05-09 22:17:16 +02:00
Joscha
6d24f08924 Make adding callbacks for message replies easier 2016-05-09 21:16:54 +02:00
Joscha
507efbc654 Fix syntax and spelling mistkaes 2016-05-08 21:27:52 +02:00
joscha
d7e16e173f Add callbacks 2016-05-08 00:46:47 +02:00
Joscha
a0bd6b71bf Add callbacks for connect, disconnect and stop 2016-05-08 00:01:10 +02:00
Joscha
196edc88ec Move files into yaboli folder 2016-05-06 11:26:35 +02:00
Renamed from connection.py (Browse further)