DRb callback when objects are unmarshalled, on the client?

Hi,

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
transferred.

Thanks!

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

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