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

Class SPyRO_Format

source code

Known Subclasses:
MarshalWrapper, PickleFormat, Prolog, SOAP_SOAPpy, SOAP_ZSI, XMLRPCFormat

The spyro format minimum requeriments

Instance Methods [hide private]
 
contenttype(self)
Returns the content type to send menssages
source code
 
_loads(self, msg)
Loads a msg.
source code
 
_dumps(self, msg)
Dumps a msg.
source code
 
dump_control(self, msg)
Creates a DEL|BYE request or any other request at low level
source code
 
dump_callMethod(self, msg)
Creates the call method
source code
 
dump_setAttr(self, msg)
Creates the set attribute message
source code
 
dump_getAttr(self, msg)
Creates the get attribute message
source code
 
load_result(self, msg) source code
 
load_request(self, msg) source code
 
dump_result(self, msg)
Create a result message with |msg| object
source code
 
dump_error(self, msg)
Create a result message with |msg| object
source code
Method Details [hide private]

_loads(self, msg)

source code 
Loads a msg. Its called for every load_* if the load_* method is not overloaded

_dumps(self, msg)

source code 
Dumps a msg. Its called for every dump_* if the dump_* method is not overloaded