Package SPyRO :: Module formats :: Class MarshalWrapper
[hide private]
[frames] | no frames]

Class MarshalWrapper

source code

SPyRO_Format --+
               |
              MarshalWrapper

Calls a personalized marshaler with loads and dumps methods MarshalWrapper envolves the with _loads and _dumps methods

Instance Methods [hide private]
 
contenttype(self)
Returns the content type to send menssages
source code
 
__init__(self, marshal) source code
 
_loads(self, msg)
Loads a msg.
source code
 
_dumps(self, msg)
Dumps a msg.
source code

Inherited from SPyRO_Format: dump_callMethod, dump_control, dump_error, dump_getAttr, dump_result, dump_setAttr, load_request, load_result

Method Details [hide private]

contenttype(self)

source code 
Returns the content type to send menssages
Overrides: SPyRO_Format.contenttype
(inherited documentation)

_loads(self, msg)

source code 
Loads a msg. Its called for every load_* if the load_* method is not overloaded
Overrides: SPyRO_Format._loads
(inherited documentation)

_dumps(self, msg)

source code 
Dumps a msg. Its called for every dump_* if the dump_* method is not overloaded
Overrides: SPyRO_Format._dumps
(inherited documentation)