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

Felipe Almeida Lessa felipe.lessa at gmail.com
Tue Oct 17 18:51:55 MDT 2006


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 )

Good luck,

-- 
Felipe.




More information about the Twisted-Python mailing list