public class GRpcServerManager
extends java.lang.Object
implements java.lang.AutoCloseable
Server
instance which implements AutoCloseable
to control startup and shutdown
along with the application.Constructor and Description |
---|
GRpcServerManager(io.grpc.Server server)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getServerPort()
Get the port the gRPC
Server is listening on. |