Re: [ADVANCED-DOTNET] TP/RP stub...

2003-08-17 Thread Griffiths, Ian
Ramkishore wrote: > In Java, proxies may be created only for only those classes > that implement atleast one interface to make them transparent > by typecasting to the interface. The use of interfaces means that code that uses the proxy doesn't care what the underlying type is. This makes it easy

Re: [ADVANCED-DOTNET] TP/RP stub...

2003-08-14 Thread Griffiths, Ian
I'm assuming here that you're using "stub" in the Java sense, to mean the thing on the client side that looks like the object. (Microsoft have always used "stub" to mean the other end. They use the term "proxy" for the client-side part. But the only way I can make sense of your post is if you me

Re: [ADVANCED-DOTNET] TP/RP stub...

2003-08-14 Thread Ramkishore
t a pointer to JIT'ed machine code? Thanks, Ramkishore - Original Message - From: "Griffiths, Ian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 11, 2003 11:01 AM Subject: Re: [ADVANCED-DOTNET] TP/RP stub... I'm assuming here that you'r

[ADVANCED-DOTNET] TP/RP stub...

2003-08-14 Thread Ramkishore
Hi, Does anyone know how to write a custom stub for the TransparentProxy/ RealProxy. RealProxy constructor does take in a stub of type IntPtr. I would like to know if there is any way to control the method signature invoked by TransparentProxy. My understanding after reading Chris Brumme's blog