Package Products :: Package ZenUtils :: Package extdirect :: Module router :: Class DirectResponse |
[hide private]
[frames] | no frames]

# Class DirectResponse

source code

    object --+
             |
            DirectResponse

Encapsulation of the simple protocol used to send results and messages to the front end.

Instance Methods | [hide private]
__init__(self, msg=None, success=True, **kwargs) | source code
data(self) | source code
__setitem__(self, key, value) | source code

Static Methods | [hide private]
fail(msg=None, **kwargs) | source code
succeed(msg=None, **kwargs) | source code

Class Variables | [hide private]
| _data = `None`

Method Details | [hide private]

### __init__(self, msg=None, success=True, **kwargs) (Constructor) | source code
Overrides: object.__init__ (inherited documentation)

### data(self) | source code
Decorators: `@property`