14 Commits (984c1308f900a5a6ce00f581339936d005fd3511)

Author SHA1 Message Date
trivernis 984c1308f9
Make timeouts configurable
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis e59e26c72f
Fix blocked receiver thread
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 7fb2b5d647
Change read and write behaviour
Read and write is now done in separate threads. Each connections
starts up a read and write thread that lock until a value is retrieved.
Events are handled by one thread in the server. Data is synchronized
via mpmc channels.

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis f5932aa45e
Change thread start behaviour
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 9137eeb673
Add error and success callback to AsyncValue
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis d3d6d0baaf
Change emit to return an async value
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis a2bed2074a
Change thread pool to executor pools
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 64203e5cac
Rename Future to AsyncValue and expose it
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 0ee8d691c7
Add support for node list synchronization
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis ac81f69209
Fix memory leak
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 12d17f09c9
Add event redirection via proxy nodes
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 32f15a2c89
Refactor connection function
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis ce423d5c3d
Add key based authentication
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 99efe4d587
Add event emitting to server
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago