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

Class PickleFormat

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.
Method Summary
  __init__(self, commlevel)
Create a new pickle format manager
  contenttype(self)
Returns the content type to send menssages
    Inherited from SPyRO_Format
  dump_callMethod(self, msg, commclient)
Creates the call method
  dump_control(self, msg, commclient)
Creates a DEL|BYE request or any other request at low level
  dump_error(self, msg, peerconn)
Create a result message with |msg| object
  dump_getAttr(self, msg, commclient)
Creates the get attribute message
  dump_result(self, msg, peerconn)
Create a result message with |msg| object
  dump_setAttr(self, msg, commclient)
Creates the set attribute message
  load_request(self, msg, peerconn)
  load_result(self, msg, commclient)

Method Details

__init__(self, commlevel)
(Constructor)

Create a new pickle format manager

contenttype(self)

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

Generated by Epydoc 2.1 on Sat Oct 14 11:50:52 2006 http://epydoc.sf.net