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

Class Prolog

SPyRO_Format --+
               |
              Prolog


The prolog of the connection
Method Summary
  __init__(self, priorities)
If |priorities| is None |Prolog.Priorities| is used instead
  dump_error(self, msg, peerconn)
Create a result message with |msg| object
  dump_result(self, msg, peerconn)
Create a result message with |msg| object
  join(self, x)
  load_request(self, msg, peerconn)
  _dumps(self, msg, comm)
Dumps a msg.
  _loads(self, msg, comm)
Loads a msg.
    Inherited from SPyRO_Format
  contenttype(self)
Returns the content type to send menssages
  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_getAttr(self, msg, commclient)
Creates the get attribute message
  dump_setAttr(self, msg, commclient)
Creates the set attribute message
  load_result(self, msg, commclient)

Class Variable Summary
SRE_Pattern EntryReader = (\w+):(\d.\d)\n?
dict Priorities = {'XML': 0.5, 'XMLRPC': 0.59999999999999998,...

Method Details

__init__(self, priorities)
(Constructor)

If |priorities| is None |Prolog.Priorities| is used instead

dump_error(self, msg, peerconn)

Create a result message with |msg| object
Overrides:
SPyRO.formats.SPyRO_Format.dump_error (inherited documentation)

dump_result(self, msg, peerconn)

Create a result message with |msg| object
Overrides:
SPyRO.formats.SPyRO_Format.dump_result (inherited documentation)

_dumps(self, msg, comm)

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

_loads(self, msg, comm)

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

Class Variable Details

EntryReader

Type:
SRE_Pattern
Value:
(\w+):(\d.\d)\n?                                                       

Priorities

Type:
dict
Value:
{'MARSHAL': 0.69999999999999996,
 'PICKLE0': 0.80000000000000004,
 'PICKLE1': 0.90000000000000002,
 'PICKLE2': 1.0,
 'SOAP': 0.40000000000000002,
 'SOAPZSI': 0.20000000000000001,
 'SOAPpy': 0.29999999999999999,
 'WDDX': 0.5,
...                                                                    

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