public class NettyGrpcServerFactory extends java.lang.Object implements GrpcServerFactory
Constructor and Description |
---|
NettyGrpcServerFactory(GrpcServerProperties properties) |
Modifier and Type | Method and Description |
---|---|
void |
addService(GrpcServiceDefinition service) |
io.grpc.Server |
createServer() |
java.lang.String |
getAddress() |
int |
getPort() |
public NettyGrpcServerFactory(GrpcServerProperties properties)
public io.grpc.Server createServer()
createServer
in interface GrpcServerFactory
public java.lang.String getAddress()
getAddress
in interface GrpcServerFactory
public int getPort()
getPort
in interface GrpcServerFactory
public void addService(GrpcServiceDefinition service)
addService
in interface GrpcServerFactory