def __init__(self, addr, name):
        """
        Initialize Object.
        :param addr:
        :param name:
        """
        log.debug("WSSAPI.__init__(): Initializing Websocket API")
        self.addr = addr
        self.name = name
        self.running = False

        # External Interface to interact with WSS.
        self.interface = Queue()

        # Internal Command Queue for restarts, stops and starts
        self._controller_q = Queue()

        # Queue storing all received data
        self.data_q = Queue()

        # Internal Controller thread, responsible for starts / restarts / stops
        self._controller_thread = None
def __init__ ( self , addr , name ) : log . debug ( "WSSAPI.__init__(): Initializing Websocket API" ) self . addr = addr self . name = name self . running = False self . interface = Queue ( ) self . _controller_q = Queue ( ) self . data_q = Queue ( ) self . _controller_thread = None
Initialize Object.
        :param addr:
        :param name: