from types import TracebackType
from links_connect.callbacks import Callback
from typing import Iterable
class CltManual:
msg_samples: Iterable[str]
def __init__(self, host: str, callback: Callback, **kwargs) -> None: ...
def __enter__(self) -> CltManual: ...
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None) -> None: ...
def send(self, msg: dict, io_timeout: float | None = None): ...
def is_connected(self, io_timeout: float | None = None) -> bool: ...
class SvcManual:
msg_samples: Iterable[str]
def __init__(self, host: str, callback: Callback, **kwargs) -> None: ...
def __enter__(self) -> SvcManual: ...
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None) -> None: ...
def send(self, msg: dict, io_timeout: float | None = None): ...
def is_connected(self, io_timeout: float | None = None) -> bool: ...
class CltAuto:
msg_samples: Iterable[str]
def __init__(self, host: str, callback: Callback, **kwargs) -> None: ...
def __enter__(self) -> CltAuto: ...
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None) -> None: ...
def send(self, msg: dict, io_timeout: float | None = None): ...
def is_connected(self, io_timeout: float | None = None) -> bool: ...
class SvcAuto:
msg_samples: Iterable[str]
def __init__(self, host: str, callback: Callback, **kwargs) -> None: ...
def __enter__(self) -> SvcAuto: ...
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None) -> None: ...
def send(self, msg: dict, io_timeout: float | None = None): ...
def is_connected(self, io_timeout: float | None = None) -> bool: ...