all groups > dotnet remoting > september 2007 >
You're in the

dotnet remoting

group:

Remote object sending from server to client to local client


Remote object sending from server to client to local client daniel.e.gabriel NO[at]SPAM gmail.com
9/11/2007 8:27:59 PM
dotnet remoting: Hi.

I've done quite a bit of research but haven't found any references to
a situation similar to mine. I have a server (srv) that publishes a
remote object and has a single TCP channel open.

I also have a client (clt) that retrieves that object from a TCP
channel that it has open.

The next part is where the problem is. I also have another application
(app) that needs to get the srv remote object, but it needs to get it
from clt. As of right now, this is done through an IPC channel and
doesn't work.

I tried returning the srv remote object from a method call on clt
(i.e., app invokes a method on clt and this method returns the srv
remote object). But this method always returns null, though clt has a
valid reference to that object and can invoke methods with no problem.

Here is a diagram:

[app] <------- ipc channel ---------> [clt] <----------- tcp channel
-------------> [svr]

The communication between clt and svr is pristine. Same with app and
clt (for objects created in app or clt).

Does anyone know of a way to pass the srv remote object to app?


Sorry for the long post.
Thanks much,
-Daniel
Re: Remote object sending from server to client to local client daniel.e.gabriel NO[at]SPAM gmail.com
9/12/2007 2:21:52 PM
[quoted text, click to view]

To simplify things:

Is there a way for the client to retrieve a remote object from the
server, and then pass it on to another client over a different
channel?

Thanks,
-Daniel
AddThis Social Bookmark Button