rework on transport (encoding/framing) and dispatcher

put encoders and framers into their own files.
also rework messages and dispatcher
make tcpserver functional

FIRST WORKING VERSION!
(no daemon mode yet, sorry)

start bin/server.py, connect a terminal to localhost:10767
and press enter....

note: not all requests are bug free yet, ListDevicesRequest() works

Change-Id: I46d6e469bca32fc53057d64ff48cce4f41ea12ea
This commit is contained in:
Enrico Faulhaber
2016-06-22 18:05:47 +02:00
parent d3c430e1b9
commit c11bca3c37
27 changed files with 1374 additions and 904 deletions

View File

@ -1,7 +1,9 @@
[server]
bindto=localhost
bindport=10767
protocol=pickle
interface = tcp
framing=eol
encoding=text
[device LN2]
class=devices.test.LN2