Re: Service and Client

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Jeff Williams" <jeff.williams_NO_SPAM@xxxxxxxxxxxxxxx> wrote in message news:13483bd7ideuoc1@xxxxxxxxxxxxxxxxxxxxx
I need to develop an application that runs as a service. Easy there are samples on how to do this.

I need to have a client which updates information for the service. Easy to do.

How do I notify the Service that details have been changed by the Client and the Service needs to re-read the data and update its self.

From the Client, use the ServiceController class which has a method called ExecuteCommand that lets you send an integer to the server.

On the server, override the method OnCustomCommand, which will fire when the client sends the ExecuteCommand.

.



Relevant Pages

  • Re: Service and Client
    ... I need to have a client which updates information for the service. ... How do I notify the Service that details have been changed by the Client ... Since you want to consider IPC over network, ... Feel free to ask any questions regarding IPC or WSE. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Service and Client
    ... I need to have a client which updates information for the service. ... How do I notify the Service that details have been changed by the Client and the Service needs to re-read the data and update its self. ... IPC channel for local connections and the TCP channel for LAN connections. ...
    (microsoft.public.dotnet.languages.csharp)
  • Service and Client
    ... I need to have a client which updates information for the service. ... How do I notify the Service that details have been changed by the Client and the Service needs to re-read the data and update its self. ... I would like this to work on a single PC but must consider that I may need the client running on several PC's with the service on a server. ... I would like to send a message from the clientto the service and the service reload the data at a predefined times. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)
  • This is going straight to the pool room
    ... or not the client has privilege to do what they're trying to do, ... The server environment is this: ... 3GL User action Routines that Tier3 will execute on your behalf during the ... Routine Name: USER_INIT ...
    (comp.os.vms)