Archived
This forum has been archived. Please start a new discussion on GitHub.
IceRuby: marshalling data
I'd like to request consideration of the addition of marshalling code (utilizing Ruby's Marshal module) to proxies. Something like this:
This allows one to utilize Ruby's built in marshalling of data for common persistence applications. As well, it allows Rails users to store proxies in the session and not have to recode a new uncheckedCast connect on every REST request.
Thanks!
class ::Ice::ObjectPrx def _dump(depth) ice_toString end def _load(str) self.uncheckedCast(str) end end
This allows one to utilize Ruby's built in marshalling of data for common persistence applications. As well, it allows Rails users to store proxies in the session and not have to recode a new uncheckedCast connect on every REST request.
Thanks!
0