14 lines
416 B
Python
14 lines
416 B
Python
# ---------------------------------------------------------------------------
|
|
# 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
|