DRb callback when objects are unmarshalled, on the client?


We are trying to figure out where to “hook” in DRb in order to be
notified when an object has just been unmarshalled, on the client. Does
anybody have an idea?

The goal is to add local functions dynamically, as soon as the object
appears on the client, transparently, based on the data that was


(this is theorical knowledge based on what I read in the drb source

I think that you would have to add a new DRbProtocol (see documentation
that class) and add mechanisms to do what you want in #recv_reply

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs