(self, timeout = 0)
return at_least_once
Serves all requests and replies that arrive within the given interval.
        
        :returns: ``True`` if at least a single transaction was served, ``False`` otherwise
Serves all requests and replies that arrive within the given interval.
        
        :returns: ``True`` if at least a single transaction was served, ``False`` otherwise
Serves all requests and replies that arrive within the given interval . : returns : True if at least a single transaction was served False otherwise
def poll_all(self, timeout = 0):
        """Serves all requests and replies that arrive within the given interval.
        
        :returns: ``True`` if at least a single transaction was served, ``False`` otherwise
        """
        at_least_once = False
        t0 = time.time()
        duration = timeout
        try:
            while True:
                if self.poll(duration):
                    at_least_once = True
                if timeout is not None:
                    duration = t0 + timeout - time.time()
                    if duration < 0:
                        break
        except EOFError:
            pass
        return at_least_once
def poll_all ( self , timeout = 0 ) : at_least_once = False t0 = time . time ( ) duration = timeout try : while True : if self . poll ( duration ) : at_least_once = True if timeout is not None : duration = t0 + timeout - time . time ( ) if duration < 0 : break except EOFError : pass return at_least_once