class_docstr: Base interface for a server, which must have a serve() method.
  
  Three constructors for all servers:
  1) (processor, serverTransport)
  2) (processor, serverTransport, transportFactory, protocolFactory)
  3) (processor, serverTransport,
      inputTransportFactory, outputTransportFactory,
      inputProtocolFactory, outputProtocolFactory)
class_docstr_tok: ["Base","interface","for","a","server",",","which","must","have","a","serve","(",")","method",".","Three","constructors","for","all","servers",":","1",")","(","processor",",","serverTransport",")","2",")","(","processor",",","serverTransport",",","transportFactory",",","protocolFactory",")","3",")","(","processor",",","serverTransport",",","inputTransportFactory",",","outputTransportFactory",",","inputProtocolFactory",",","outputProtocolFactory",")"]
code: def __init__(self, *args):
      if len(args) == 2:
          self.__initArgs__(
              args[0],
              args[1],
              TTransport.TTransportFactoryBase(),
              TTransport.TTransportFactoryBase(),
              TBinaryProtocol.TBinaryProtocolFactory(),
              TBinaryProtocol.TBinaryProtocolFactory(),
          )
      elif len(args) == 4:
          self.__initArgs__(
              args[0], args[1], args[2], args[2], args[3], args[3]
          )
      elif len(args) == 6:
          self.__initArgs__(
              args[0], args[1], args[2], args[3], args[4], args[5]
          )
  
imports: from six.moves import queue
  import logging
  import os
  import threading
  from thrift.protocol import TBinaryProtocol
  from thrift.protocol.THeaderProtocol import THeaderProtocolFactory
  from thrift.transport import TTransport
label_desc: Use image node_id 1 to create a new TServer object from inherited base classes: object with example: obj = TServer()