Wondering if someone had some ears (or eyes I guess) I could bounce some concepts off of regarding a Client/Server system design.
All technicalities aside (such as message framing etc..) I was wondering if anyone had ideas for how a system like that should be set up?
Currently my concept involves the following:
- A Server Control Panel (GUI Interface)
- A Server Service (Windows Service)
- Communication Management System (Server core)
The Server Control panel simply queries the Communication Management System to get information about the windows service (is it running? start it, stop it, change a setting etc...) The server control panel also contains a log viewer as well.
The Server Service is the actual service that can run on the windows system. This allows the server to run in the background without a GUI open or hidden in the task bar...you know...a service.
Communication Management System is a library (dll) of commands that the control panel AND the service can use to communicate with each other AND with any users connected to the system. I think I want this in it's own library for one simple reason: The server manager can, at any time via the Control Panel (and also during system setup) indicate that the server should run "in service mode" or "only when the control panel is open." By putting the server commands in a dll, it can be shared (preventing redundant coding).
Is this the standard way of implementing a server service? I've not been able to find much information on the topic. Most service examples use timers and not sockets to perform actions.
I'd appreciate any help in determining the design for something like this. Is it better to have the control panel query the service directly and issue commands or is using the dll better? I'm trying to consider maintainable as well, updating a dll is sometimes more "user friendly" than updating the GUI (not they they would know really what is being updated but eh...I don't know...)
I attached a (albeit rather cheesy and probably hard to read) diagram of the basic idea.