class and file docs
This commit is contained in:
parent
05eac44a4c
commit
38e89d628b
2 changed files with 19 additions and 4 deletions
|
|
@ -160,7 +160,7 @@ public class JobServClient {
|
||||||
|
|
||||||
// Client entrypoint
|
// Client entrypoint
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
if (args.length == 1 && args[0] == "--help"){
|
if (args.length == 1 && args[0] == "help"){
|
||||||
outputHelp();
|
outputHelp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,11 @@
|
||||||
|
/*
|
||||||
|
* JobServServer
|
||||||
|
*
|
||||||
|
* v1.0
|
||||||
|
*
|
||||||
|
* May 18, 2019
|
||||||
|
*/
|
||||||
|
|
||||||
package JobServ;
|
package JobServ;
|
||||||
|
|
||||||
import io.grpc.Server;
|
import io.grpc.Server;
|
||||||
|
|
@ -7,6 +15,13 @@ import io.grpc.stub.StreamObserver;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.logging.Logger;
|
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 {
|
public class JobServServer {
|
||||||
private static final Logger logger = Logger.getLogger(JobServServer.class.getName());
|
private static final Logger logger = Logger.getLogger(JobServServer.class.getName());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue