Package pulp :: Package messaging :: Module decorators
[hide private]
[frames] | no frames]

Module decorators

source code

Provides decorator classes & funcitons.

Classes [hide private]
  Remote
Functions [hide private]
 
remote(cls)
Decorator used to register remotable classes.
source code
 
remotemethod(fn) source code
bool
mayinvoke(im)
Get whether the specified instance method (im) may be invoked remotely.
source code
 
stub(ns)
Decorator used to register sub classes.
source code
Function Details [hide private]

remote(cls)

source code 

Decorator used to register remotable classes.

Parameters:
  • cls (python class.) - A class to register.

remotemethod(fn)

source code 
Parameters:
  • fn (function Decorator used to register methods that may be invoked remotely.) - A function related to an instancemethod.

mayinvoke(im)

source code 

Get whether the specified instance method (im) may be invoked remotely.

Parameters:
  • im (instancemethod) - An instance method.
Returns: bool
True if exposed via @remotemethod decorator.

stub(ns)

source code 

Decorator used to register sub classes.

Parameters:
  • ns (str.) - The stub namespace.