diff --git a/Shared/Routing.py b/Shared/Routing.py index e67e2f4..6472aab 100644 --- a/Shared/Routing.py +++ b/Shared/Routing.py @@ -1,18 +1,3 @@ -BROADCAST = 0 -ROUTE = 1 -SOCK = 2 - - -class InvalidRouteSetup(AttributeError): - def __init__(self, msg): - super(AttributeError, self).__init__(msg) - - -class InvalidRouteLength(AttributeError): - def __init__(self, msg): - super(AttributeError, self).__init__(msg) - - class Route: def run(self, data, handler): pass @@ -21,15 +6,6 @@ class Route: pass -class ServerRoute(Route): - REQUIRED = [] - PATCHED = False - - -class ClientRoute(Route): - pass - - def create_routes(routes, handler): routes = routes.copy() reverse_routes = {}