parameters: (self, timeout=0)
docstring: Process data from connections once.
  
          Arguments:
  
              timeout -- How long the select() call should wait if no
                         data is available.
  
          This method should be called periodically to check and process
          incoming data, if there are any.  If that seems boring, look
          at the process_forever method.
docstring_summary: Process data from connections once.
docstring_tokens: Process data from connections once .
function: def process_once(self, timeout=0):
          """Process data from connections once.
  
          Arguments:
  
              timeout -- How long the select() call should wait if no
                         data is available.
  
          This method should be called periodically to check and process
          incoming data, if there are any.  If that seems boring, look
          at the process_forever method.
          """
          sockets = map(lambda x: x._get_socket(), self.connections)
          sockets = filter(lambda x: x != None, sockets)
          if sockets:
              (i, o, e) = select.select(sockets, [], [], timeout)
              self.process_data(i)
          else:
              time.sleep(timeout)
          self.process_timeout()
function_tokens: def process_once ( self , timeout = 0 ) : sockets = map ( lambda x : x . _get_socket ( ) , self . connections ) sockets = filter ( lambda x : x != None , sockets ) if sockets : ( i , o , e ) = select . select ( sockets , [ ] , [ ] , timeout ) self . process_data ( i ) else : time . sleep ( timeout ) self . process_timeout ( )