parameters: (self, client)
docstring: Process input/output from a client for as long as possible
docstring_summary: Process input/output from a client for as long as possible
docstring_tokens: Process input / output from a client for as long as possible
function: def serveClient(self, client):
          """Process input/output from a client for as long as possible"""
          itrans = self.inputTransportFactory.getTransport(client)
          otrans = self.outputTransportFactory.getTransport(client)
          iprot = self.inputProtocolFactory.getProtocol(itrans)
          oprot = self.outputProtocolFactory.getProtocol(otrans)
  
          try:
              while True:
                  self.processor.process(iprot, oprot)
          except TTransportException:
              pass
          except Exception as x:
              logger.exception(x)
  
          itrans.close()
          otrans.close()
function_tokens: def serveClient ( self , client ) : itrans = self . inputTransportFactory . getTransport ( client ) otrans = self . outputTransportFactory . getTransport ( client ) iprot = self . inputProtocolFactory . getProtocol ( itrans ) oprot = self . outputProtocolFactory . getProtocol ( otrans ) try : while True : self . processor . process ( iprot , oprot ) except TTransportException : pass except Exception as x : logger . exception ( x ) itrans . close ( ) otrans . close ( )