grr/server/grr_response_server/db.py
def RegisterMessageHandler(self, handler, lease_time, limit=1000):
    """Registers a message handler to receive batches of messages.

    Args:
      handler: Method, which will be called repeatedly with lists of leased
        objects.MessageHandlerRequest. Required.
      lease_time: rdfvalue.Duration indicating how long the lease should be
        valid. Required.
      limit: Limit for the number of leased requests to give one execution of
        handler.
    """
Registers a message handler to receive batches of messages.

    Args:
      handler: Method, which will be called repeatedly with lists of leased
        objects.MessageHandlerRequest. Required.
      lease_time: rdfvalue.Duration indicating how long the lease should be
        valid. Required.
      limit: Limit for the number of leased requests to give one execution of
        handler.
    
Registers a message handler to receive batches of messages.
Registers a message handler to receive batches of messages .
def RegisterMessageHandler(self, handler, lease_time, limit=1000):
def RegisterMessageHandler ( self , handler , lease_time , limit = 1000 ) :
Registers a message handler to receive batches of messages.
Registers a message handler to receive batches of messages .
"""Registers a message handler to receive batches of messages.

    Args:
      handler: Method, which will be called repeatedly with lists of leased
        objects.MessageHandlerRequest. Required.
      lease_time: rdfvalue.Duration indicating how long the lease should be
        valid. Required.
      limit: Limit for the number of leased requests to give one execution of
        handler.
    """
self
handler
Method, which will be called repeatedly with lists of leased
objects.MessageHandlerRequest. Required.
Method which will be called repeatedly with lists of leased objects . MessageHandlerRequest . Required .
lease_time
rdfvalue.Duration indicating how long the lease should be
valid. Required.
rdfvalue . Duration indicating how long the lease should be valid . Required .
limit
Limit for the number of leased requests to give one execution of
handler.
Limit for the number of leased requests to give one execution of handler .