Help with Remoting
-
Hello. I'm having troubles with Remoting. I've been doing a sample that has: - A remoting object - A server that instanciates the remote object and registrates it in a channel - A client that retrieves the object from the channel and executes methods. When that happens, the results affects the server application. Well, my scenario is a bit different. I have a server that is a windows service and receives some messages that inserts in a database. I want to add a interface monitoring that messages, so I write another application and I want to use remoting to communicate with the server. Then I added a message class, that is remotable. I use that class in my server, and I registrate that object in a channel. The client should retrieve the object and show the messages in a control, but when I get the object from the channel it is empty. The difference is that in the example scenario, the client executes methods that affect the server, but I need the opposite. My only idea is moving the message class to my actual client, but then the service won't work if the client isn't open. Do you understand the problem? Any solution please?
Regards, Diego F.