class_docstr: Non-blocking server.
docstr: Serve requests.
  
  Serve requests forever, or until stop() is called.
docstr_tok: ["Serve","requests",".","Serve","requests","forever",",","or","until","stop","(",")","is","called","."]
code: def serve(self):
      """Serve requests.
  
      Serve requests forever, or until stop() is called.
      """
      self._stop = False
      self.prepare()
      while not self._stop:
          self.handle()
  
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 10 for calling the TNonblockingServer obj's underlying member method code with example usage: obj.serve() without return types