17 Commits (9a1c1df91d537194f460a4dd69671ff1007d6024)

Author SHA1 Message Date
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 401bd11821
Remove request_node_list fn
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 52f9cc1cd1
Change emit to be synchronous to avoid too many threads
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 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 6f6142982b
Change auth to two-sided encrypted authentication
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis da6cd1faaf
Update README
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
trivernis bf72aeeeb8
Rewrite server to use custom encryption
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 15221b6f59
Add vented client implementation
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago