(self, timeout = 1)
return True
Serves a single request or reply that arrives within the given
        time frame (default is 1 sec). Note that the dispatching of a request
        might trigger multiple (nested) requests, thus this function may be
        reentrant. 
        
        :returns: ``True`` if a request or reply were received, ``False``
                  otherwise.
Serves a single request or reply that arrives within the given
        time frame (default is 1 sec). Note that the dispatching of a request
        might trigger multiple (nested) requests, thus this function may be
        reentrant. 
        
        :returns: ``True`` if a request or reply were received, ``False``
                  otherwise.
Serves a single request or reply that arrives within the given time frame ( default is 1 sec ) . Note that the dispatching of a request might trigger multiple ( nested ) requests thus this function may be reentrant . : returns : True if a request or reply were received False otherwise .
def serve(self, timeout = 1):
        """Serves a single request or reply that arrives within the given
        time frame (default is 1 sec). Note that the dispatching of a request
        might trigger multiple (nested) requests, thus this function may be
        reentrant. 
        
        :returns: ``True`` if a request or reply were received, ``False``
                  otherwise.
        """
        data = self._recv(timeout, wait_for_lock = True)
        if not data:
            return False
        self._dispatch(data)
        return True
def serve ( self , timeout = 1 ) : data = self . _recv ( timeout , wait_for_lock = True ) if not data : return False self . _dispatch ( data ) return True