Hi Daniel,

if you can live with the fact that the destination object has to inherit
MarshalByRefObject, you can work with a
Sytem.Runtime.Remoting.Proxies.RealProxy implementation which would allow
you to intercept the call and receive a "Message"-object which can be used
for runtime tweaking of the call.

Just drop me a note if I should send you a sample ...

HTH,
-Ingo

Author of "Advanced .NET Remoting"
http://www.dotnetremoting.cc

> -----Original Message-----
> From: Daniel Aioanei [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 23, 2002 5:34 PM
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] Proxy class
>
>
> Hi,
>
>     I need a proxy class with the same functionality as the
> java.lang.reflect.Proxy class in JDK 1.3+. I suppose it is
> relatively easy to do it using System.Reflection.Emit or
> CodeDOM, but any ideas are welcome. Especially, I'd like to
> avoid emitting code.
>
> Thanks,
> Daniel Aioanei
>
> You can read messages from the DOTNET archive, unsubscribe
> from DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.
>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to