# --------------------------------------------------------------------------- # Transport-Abstraktionen # --------------------------------------------------------------------------- class GnssTransport: def read(self, n: int) -> bytes: raise NotImplementedError def write(self, data: bytes) -> None: raise NotImplementedError def close(self) -> None: raise NotImplementedError