IceRuby: marshalling data

ctennisctennis Member Caleb TennisOrganization: AEIProject: Project GINA ✭✭✭
I'd like to request consideration of the addition of marshalling code (utilizing Ruby's Marshal module) to proxies. Something like this:
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!
Sign In or Register to comment.