Yes I did. It says that the object is of type IRemoting, but not of
type ConcreteRemoting (which I really need). I believe the problem is
that the IMessage is filled on the client side, and the client only
knows about the interface. 

  I need to hook into the remoting pipe after the .NET mechanism detects
the actual type of the object (and preferably - after the framework
already has the instance of the object - if that's at all possible).

  Itay.

-----Original Message-----
From: Baris Acar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 18, 2006 10:58 AM
Subject: Re: A Server Side Sink Problem

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(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to