]> www.average.org Git - loctrkd.git/blobdiff - loctrkd/__main__.py
protocols: make "interface" module
[loctrkd.git] / loctrkd / __main__.py
index 14c33f32728a5a0dbe63e5266f430d9577429341..10a2bf835d80ea946d3ca92ca71da02f555dbfba 100644 (file)
@@ -11,21 +11,12 @@ from typing import Any, cast, List, Tuple, Type, Union
 import zmq
 
 from . import common
+from .protomodule import ProtoModule
 from .zmsg import Bcast, Resp
 
 log = getLogger("loctrkd")
 
 
-class ProtoModule:
-    @staticmethod
-    def proto_handled(proto: str) -> bool:
-        ...
-
-    @staticmethod
-    def class_by_prefix(prefix: str) -> Any:
-        ...
-
-
 pmods: List[ProtoModule] = []