Package gofer :: Package rmi :: Module policy
[hide private]
[frames] | no frames]

Module policy

source code

Contains request delivery policies.

Classes [hide private]
  Timeout
Policy timeout.
  RequestTimeout
Request timeout.
  RequestMethod
Base class for request methods.
  Synchronous
The synchronous request method.
  Asynchronous
The asynchronous request method.
  Trigger
Asynchronous trigger.
Functions [hide private]
tuple
timeout(options, none=(None, None))
Extract (and default as necessary) the timeout option.
source code
Variables [hide private]
  log = getLogger(__name__)
  __package__ = 'gofer.rmi'
Function Details [hide private]

timeout(options, none=(None, None))

source code 

Extract (and default as necessary) the timeout option.

Parameters:
  • options (dict) - Policy options.
Returns: tuple
The timeout (<start>,<duration>)