parameters: (self)
docstring: main execution loop. Loops and handles exit states
docstring_summary: main execution loop. Loops and handles exit states
docstring_tokens: main execution loop . Loops and handles exit states
function: def exec_loop(self):
          """ main execution loop. Loops and handles exit states"""
  
          self.log("in exec_loop")
          try:
              while True:
                  self.one_function()
          except ClientExit as e:
              self.log("ClientExit %s"%e)
          except socket.error as e:
              self.log("socket error %s"%e)
              traceback.print_exc(50,self.logf)
          except EOFError:
              self.log("EOF during communication")
              traceback.print_exc(50,self.logf)
          except BaseException:
              # unexpected
              traceback.print_exc(50,sys.stderr)
              sys.exit(1)
  
          LOG.info("exit sever")
function_tokens: def exec_loop ( self ) : self . log ( "in exec_loop" ) try : while True : self . one_function ( ) except ClientExit as e : self . log ( "ClientExit %s" % e ) except socket . error as e : self . log ( "socket error %s" % e ) traceback . print_exc ( 50 , self . logf ) except EOFError : self . log ( "EOF during communication" ) traceback . print_exc ( 50 , self . logf ) except BaseException : # unexpected traceback . print_exc ( 50 , sys . stderr ) sys . exit ( 1 ) LOG . info ( "exit sever" )