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

Class PickleFormat

source code

SPyRO_Format --+
               |
              PickleFormat

This is the Interface to serialize (load and dumps) of the pickle format broker. It is quite simple, and it just uses the cPickle package.

Instance Methods [hide private]
 
__init__(self, commlevel)
Create a new pickle format manager
source code
 
contenttype(self)
Returns the content type to send menssages
source code
 
_loads(self, msg)
Load received message, returns python data structures
source code
 
_dumps(self, msg)
Dumps a message into data to send it across the network
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 
Load received message, returns python data structures
Overrides: SPyRO_Format._loads

_dumps(self, msg)

source code 
Dumps a message into data to send it across the network
Overrides: SPyRO_Format._dumps