Static factory for creating a new ServerBuilder. @param port the port to listen on @param creds the server identity
(int port, ServerCredentials creds)
| 137 | * @param creds the server identity |
| 138 | */ |
| 139 | public static ServerBuilder<?> newServerBuilderForPort(int port, ServerCredentials creds) { |
| 140 | return ServerRegistry.getDefaultRegistry().newServerBuilderForPort(port, creds); |
| 141 | } |
| 142 | } |