X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=loctrkd%2F__main__.py;h=10a2bf835d80ea946d3ca92ca71da02f555dbfba;hb=5bd4b1bad2506f2f5f71161ac9e8a9b141e0fef4;hp=14c33f32728a5a0dbe63e5266f430d9577429341;hpb=c602ee4c0f76feb819010a17e426de55b3ad89bd;p=loctrkd.git diff --git a/loctrkd/__main__.py b/loctrkd/__main__.py index 14c33f3..10a2bf8 100644 --- a/loctrkd/__main__.py +++ b/loctrkd/__main__.py @@ -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] = []