def __init__(self, ip: str, port: int): self._subscriptions = SubscriptionContainer() self._publications = asyncio.Queue() self._ping_pong_tasks = asyncio.PriorityQueue() self._ip = ip self._port = port Log.init(server=True)
def __init__(self, ip: str, port: int): self._ip = ip self._port = port Log.init(server=False)