Have you checked the IMessage parameters passed between the sinks?
On 4/17/06, Itay Zandbank <[EMAIL PROTECTED]> wrote:
> Hello.
>
> I'm trying to implement a remoting server-side sink that needs to know
> the type of the object that's being used. However, I can't seem to get
> that information, because the client is accessing the server through an
> interface, like so:
>
> // Shared by the client and the server
> interface IRemoting
> {
> void method();
> }
>
> // Server
> internal class ConcreteRemoting: IRemoting { ... }
>
> // Client
> IRemoting remote = Activator.GetObject(typeof(IRemoting), "URL of
> server");
>
> The sink only gets information about the type IRemoting, while I
> specifically need to get information about the type ConcreteRemoting (I
> want to fetch some attributes that are declared there and not in the
> interface).
>
> Is there any way to get the actual type (or, even, that actual
> instance)?
>
> Thanks,
> Itay.
>
> ===================================
> This list is hosted by DevelopMentor(r) http://www.develop.com
>
> View archives and manage your subscription(s) at http://discuss.develop.com
>
--
Devrim Baris Acar
Software Develeper
http://www.barisacar.com
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com