Remoting Example

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am working on a server application that uses a windows service as it's source. Included in this app I also have a monitoring and configuration client that needs to be written. For this I am using remoting to talk to the service and collect information on what it is doing. What I need to do now is to events inside the service application and recieve then on the mgr client application
Does any one have any small examples of manually raising an event (Which I know how to do) and having the client pick it up

? do I have to set up the server the other way around, at the moment I have the remoting server processes running inside the the service. do i have to set them up in the client, add an event handler in the service and on that event send the data to the client where the client server processes recieve the remoted data

Thanks for you help Glenn.
 
I was trying to follow you but I got loss, sorry. Are you just trying to
communicate between programs on different servers? If you are try using
MSMQ you can set events on the message queues.



Glenn Wilson said:
I am working on a server application that uses a windows service as it's
source. Included in this app I also have a monitoring and configuration
client that needs to be written. For this I am using remoting to talk to the
service and collect information on what it is doing. What I need to do now
is to events inside the service application and recieve then on the mgr
client application.
Does any one have any small examples of manually raising an event (Which I
know how to do) and having the client pick it up.
? do I have to set up the server the other way around, at the moment I
have the remoting server processes running inside the the service. do i have
to set them up in the client, add an event handler in the service and on
that event send the data to the client where the client server processes
recieve the remoted data.
 
I have the applications talking to each other
The client app sends a request to the server app using remoting and I can get data back

Now I need to have a message sent to the client app by remoting when an event fires on the server, for example sending a message when the service stops, or an action succeds inside the server processes

Regards Glenn
 
Back
Top