code: def run(self):
      def handler_cls_builder(*args, **kwargs):
          return self.__webSocketServerClass(*args, **kwargs)
  
      self.__server = simple_server.make_server(
          self.__host,
          self.__port,
          server_class=wsgirefserver.WSGIServer,
          handler_class=wsgirefserver.WebSocketWSGIRequestHandler,
          app=wsgiutils.WebSocketWSGIApplication(
              handler_cls=handler_cls_builder
          ),
      )
      self.__server.initialize_websockets_manager()
      self.__server.serve_forever()
  
file_path: pyalgotrade/testcases/websocket_server.py
imports: import threading
  from wsgiref import simple_server
  from ws4py.server import wsgirefserver
  from ws4py.server import wsgiutils
label_desc: Use image node_id 2 for calling the WebSocketServerThread obj's underlying member method code with example usage: obj.run() and returns: self