[Mono-list] Delivering IMethodCallMessags

Lluis Sanchez lluis@ximian.com
Sat, 09 Oct 2004 00:08:01 +0200


On dv, 2004-10-08 at 23:23 +0200, Joerg Bornschein wrote:
> Hi,
> 
> is there a easy way dispatch a IMethodCallMessage to an actual object
> instance?
> 
> Background:
> 
> I'm trying to write a transparent forwarding class which camouflages as some
> other type, intercepts all method calls and forwardes them.
> 
> Right now I've derived RealProxy and can intercept method calls -- but how to 
> dispatch them?

You can use RemotingServices.ExecuteMessage() for this.
I wrote an interception channel that seems to do what are you trying to
achieve. Have a look at:
http://primates.ximian.com/~lluis/blog/archives/archive_2003-m10.php#e17

Lluis.

> 
>   
> 
> thanks
> 
> 
>   j.
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list