class and file docs

This commit is contained in:
Aidan Hahn 2019-05-18 13:05:02 -07:00
parent 05eac44a4c
commit 38e89d628b
No known key found for this signature in database
GPG key ID: 327711E983899316
2 changed files with 19 additions and 4 deletions

View file

@ -160,7 +160,7 @@ public class JobServClient {
// Client entrypoint
public static void main(String[] args) throws Exception {
if (args.length == 1 && args[0] == "--help"){
if (args.length == 1 && args[0] == "help"){
outputHelp();
}

View file

@ -1,3 +1,11 @@
/*
* JobServServer
*
* v1.0
*
* May 18, 2019
*/
package JobServ;
import io.grpc.Server;
@ -7,6 +15,13 @@ import io.grpc.stub.StreamObserver;
import java.io.IOException;
import java.util.logging.Logger;
/*
* The JobServServer class implements the JobServ protobuf API
* It does this by extending the gRPC stub code.
* Additionally, JobServServer starts and manages a daemon
* Which accepts incoming connections from client.
*/
public class JobServServer {
private static final Logger logger = Logger.getLogger(JobServServer.class.getName());