]> git.somenet.org - pub/jan/dst18.git/blob - ass2-service/auth/src/main/java/dst/ass2/service/auth/grpc/IGrpcServerRunner.java
Add template for assignment 2
[pub/jan/dst18.git] / ass2-service / auth / src / main / java / dst / ass2 / service / auth / grpc / IGrpcServerRunner.java
1 package dst.ass2.service.auth.grpc;
2
3 import java.io.IOException;
4
5 /**
6  * An implementation of this interface is expected by the application to start the grpc server. Inject get
7  * {@link GrpcServerProperties} to access the configuration.
8  */
9 public interface IGrpcServerRunner {
10     /**
11      * Starts the gRPC server.
12      *
13      * @throws IOException start error
14      */
15     void run() throws IOException;
16 }