• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX:Question about MODE

 
HaoZhe Xu
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am doing an scjd project, it has 2 mode, network mode or non-network mode
I heard some people said "standalone" mode, what does it mean?
and, I think non-network mode should not involve with lock/unlock,am I right?
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to your instructions, there should be something like:

When you submit your assignment, each part (client and server) must be executable using a command of this exact form:
java -jar <path_and_filename> [<mode>]
...
The mode flag must be either "server", indicating the server program must run, "alone", indicating standalone mode, or left out entirely, in which case the network client and gui must run.

"alone" means non-network mode, "server" means network mode for starting up the server, "empty" means network mode for starting up the client.
In order to use the same server side programs, I allowed the lock operations for both modes. But this depends on how you make your decisions.
Hope this help.
Nick
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic