MCPcopy Create free account
hub / github.com/grpc/grpc-java / newServerBuilderForPort

Method newServerBuilderForPort

api/src/main/java/io/grpc/Grpc.java:139–141  ·  view source on GitHub ↗

Static factory for creating a new ServerBuilder. @param port the port to listen on @param creds the server identity

(int port, ServerCredentials creds)

Source from the content-addressed store, hash-verified

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}

Callers 15

setUpMethod · 0.95
startAltsServerMethod · 0.95
newServerMethod · 0.95
startMethod · 0.95
startMethod · 0.95
runMethod · 0.95
runServerMethod · 0.95
mainMethod · 0.95
startMethod · 0.95
startMethod · 0.95

Calls 1

getDefaultRegistryMethod · 0.95

Tested by 15

setUpMethod · 0.76
startAltsServerMethod · 0.76
newServerMethod · 0.76
startMethod · 0.76
startMethod · 0.76
runMethod · 0.76
runServerMethod · 0.76
basicMethod · 0.76
tcnativeMethod · 0.76