Commit graph

12 commits

Author SHA1 Message Date
Philip Trauner
c2c36efd0a Preperation for merge with Highway 2016-10-16 23:12:38 +02:00
Philip Trauner
d703f018b8 Changed encoding and meta route index
Encoding is now BH (data type, route) which should be more than enough for now.
Because H is not signed the meta route is now always on position 0.
2016-10-15 17:54:01 +02:00
Philip Trauner
e03102679d Removed legacy code, unified Client and Server Route 2016-10-03 20:50:41 +02:00
Philip Trauner
42c08217dc Removed some Sync specific hacks, additional error handling
Patching is completely gone in this version and will be kept out as long as possible.
meta is not handled as a normal route anymore and will be ignored on exchange map creation.
Routes don't require a start method anymore.
2016-09-25 17:57:47 +02:00
Philip Trauner
ab6444f118 Overhaul to work with Highway
create_routes now doesn't launch them automatically because routes are put together before the socket actually becomes avaliable.
create_exchange_map previously used the wrong index for the route list.
There is now a universal Route class from which ServerRoute and ClientRoute inherit.
2016-09-18 19:49:53 +02:00
Philip Trauner
8638b98179 Removed max route length and added route ids
Routes are now handled as numbers by the networking layer. This changes requires the first message to be a dict of all routes with their associated ids. This way only 2 bytes are used per message, not 16 like before.
2016-09-11 20:32:13 +02:00
PhilipTrauner
47989941d8 Removed invalid logic and added additional error handling 2016-04-03 22:19:42 +02:00
PhilipTrauner
f87501a7a7 Removed setup (__init__ can now be used) 2016-03-29 23:36:33 +02:00
PhilipTrauner
615865234d Moved start to Server, added start and stop methods and removed arbitrary start requirement 2016-03-21 00:12:58 +01:00
PhilipTrauner
befca7cdf8 Added REQUIRE capabilities for Routing 2016-03-08 08:43:52 +01:00
PhilipTrauner
058406be01 Added client route 2016-01-11 11:51:01 +01:00
PhilipTrauner
02715dd97f Moved Routing from Server/Server.py to own file 2016-01-04 03:57:00 +01:00