def run_websocketapp(self, **kwargs):
    self.Logger.info('Begin Connection')
    url = (self._WebSocketAddress + kwargs.pop('url_append', ''))
    on_error = kwargs.pop('on_error', self.on_error)
    on_close = kwargs.pop('on_close', self.on_close)
    on_message = kwargs.pop('on_message', self.on_message)
    self.WebSocketConnection = websocket.WebSocketApp(url, on_error=on_error, on_close=on_close, on_message=on_message, **kwargs)
    while True:
        try:
            self.WebSocketConnection.run_forever()
        except Exception as e:
            self.Logger.exception(e)
def run_websocketapp(self, **kwargs):
    self.Logger.info('Begin Connection')
    url = (self._WebSocketAddress + kwargs.pop('url_append', ))
    on_error = kwargs.pop('on_error', self.on_error)
    on_close = kwargs.pop('on_close', self.on_close)
    on_message = kwargs.pop('on_message', self.on_message)
    self.WebSocketConnection = websocket.WebSocketApp(url, on_error=on_error, on_close=on_close, on_message=on_message, **kwargs)
    while True:
        try:
            self.WebSocketConnection.run_forever()
        except Exception as e:
            self.Logger.exception(e)