code: def __init__(self, host, port, webSocketServerClass):
      super(WebSocketServerThread, self).__init__()
      self.__host = host
      self.__port = port
      self.__webSocketServerClass = webSocketServerClass
      self.__server = None
  
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 1 to create a new WebSocketServerThread object from inherited base classes: threading with example: obj = WebSocketServerThread(host, port, webSocketServerClass)