class_docstr: Non-blocking server.
docstr: Prepares server for serve requests.
docstr_tok: ["Prepares","server","for","serve","requests","."]
code: def prepare(self):
      """Prepares server for serve requests."""
      if self.prepared:
          return
      self.socket.listen()
      for _ in range(self.threads):
          thread = Worker(self.tasks)
          thread.daemon = True
          thread.start()
      self.prepared = True
  
imports: import logging
  import select
  import socket
  import struct
  import threading
  from collections import deque
  from six.moves import queue
  from thrift.transport import TTransport
  from thrift.protocol.TBinaryProtocol import TBinaryProtocolFactory
label_desc: Use image node_id 3 for calling the TNonblockingServer obj's underlying member method code with example usage: obj.prepare() without return types