Topics: Development Team Discussion, User Discussion
Aug 16, 2007 at 5:30 PM
Within a CallHandler, I need to access the proxy that caused the CallHandler chain to be called.

I thought adding a Proxy getter property on IMethodInvocation would make lots of sense.

InterceptingRealProxy could pass this when creating the RemotingMethodInvocation instance.
Aug 16, 2007 at 6:07 PM
Same remark as before: it is specific to the implementation that uses remoting proxies.

Why would you need to access the proxy? I wonder what is your use case...

Aug 16, 2007 at 6:31 PM
Yeah both posts were related.

That was before I took your comment regarding the "Invocation Context" into account. I'm about to check-in some code for a ThreadSafeCallHandler. You'll be able to see what I came up with finally.