Forums Register Login

three mode ?

+Pie Number of slices to send: Send
The poject require three mode for starting server ,client and net client.
-java -jar Runme.jar server
I have a question: Do I need to provide a main class which handle the argument? And the main class should start server,client etc. I am confused.
+Pie Number of slices to send: Send
Hi Long,
Yes, you will have to have something in your main class that will check what mode the user wants to run your application. You will then start the requested mode.
Regards, Andrew
No thanks. We have all the government we need. This tiny ad would like you to leave now:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 613 times.
Similar Threads
data class adn adat client..
UrlyBird 1.2.1 passed 359/400
Running server/client separately in runme.jar
Question about DesignPattern
Logging on Server ???
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 00:15:30.