Example #1
0
File: server.py Project: iFA88/yaps
    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)
Example #2
0
 def __init__(self, ip: str, port: int):
     self._ip = ip
     self._port = port
     Log.init(server=False)