[Twisted-Python] Newbie question on how to send "complex" objects over the wire

Jean-Paul Calderone exarkun at divmod.com
Tue Oct 17 18:59:53 MDT 2006


On Tue, 17 Oct 2006 22:51:55 -0200, Felipe Almeida Lessa <felipe.lessa at gmail.com> wrote:
>2006/10/17, Franz Zieher <franz.zieher at gmail.com>:
>>
>>Can anybody provide a an example on how I would best send
>>a data structure (i.e. an ElemenTree from elementtree) over from
>>a server to a client process. I followed somewhat the example in
>>the documentation and used the perspective broker "pb" to send
>>an "simple" structure (some class with simple members)
>>
>>When I changed to a more complex class definition, I obviously got
>>an InsecureJelly exception.
>>
>>I'm sure this question must have come up a number of times. I'm new
>>in using twisted and not everything is so obvious at the beginning to me 
>>:-(
>
>I don't know if it may help you, but I think you should take a look at
>Cerealizer ( http://home.gna.org/oomadness/en/cerealizer/index.html )
>

Using this together with PB would probably be counterproductive.

Jean-Paul




More information about the Twisted-Python mailing list