public final class GrpcServers
extends Object
| Modifier and Type | Method and Description |
|---|---|
static GrpcServerBuilder |
forAddress(SocketAddress socketAddress)
New
GrpcServerBuilder instance. |
static GrpcServerBuilder |
forPort(int port)
New
GrpcServerBuilder instance. |
public static GrpcServerBuilder forPort(int port)
GrpcServerBuilder instance.port - the listen port for the server.public static GrpcServerBuilder forAddress(SocketAddress socketAddress)
GrpcServerBuilder instance.socketAddress - the listen address for the server.