]> www.average.org Git - loctrkd.git/blobdiff - loctrkd/qry.py
protocols: make "interface" module
[loctrkd.git] / loctrkd / qry.py
index 650830e5fc4c57d90ff113ae42a5bcbeefa9ff18..6745cf27653ddf592ef3fd47536b3c449b0a60b4 100644 (file)
@@ -10,20 +10,11 @@ from sys import argv
 from typing import Any, cast, List, Tuple
 
 from . import common
+from .protomodule import ProtoModule
 
 log = getLogger("loctrkd/qry")
 
 
-class ProtoModule:
-    @staticmethod
-    def proto_handled(proto: str) -> bool:
-        ...
-
-    @staticmethod
-    def parse_message(packet: bytes, is_incoming: bool = True) -> Any:
-        ...
-
-
 pmods: List[ProtoModule] = []