Hey guys,
Just got a quick question ... I am implementing a client GUI, and part of the requirements are that the client is able to start, stop and restart the server. This got me a bit confused since the client connects after the server is running. What I am thinking now is do the mean disconect the client himself if he presses Stop? and make new one if he presses start after? Here is the definition I've got given
start(); // starts the print server
stop(); // stops the print server
restart(); // stops the print server, clears the print queue and starts the print server again
If it actually interacts with the server itself, how would that happen? :o For my communication I am using Java RMI