Home
last modified time | relevance | path

Searched refs:serverPort (Results 1 – 17 of 17) sorted by relevance

/external/grpc-grpc-java/benchmarks/src/test/java/io/grpc/benchmarks/driver/
DLoadWorkerTest.java73 int serverPort = startServer(serverArgsBuilder.build()); in runUnaryBlockingClosedLoop() local
76 String serverAddress = "localhost:" + serverPort; in runUnaryBlockingClosedLoop()
101 int serverPort = startServer(serverArgsBuilder.build()); in runUnaryAsyncClosedLoop() local
104 String serverAddress = "localhost:" + serverPort; in runUnaryAsyncClosedLoop()
130 int serverPort = startServer(serverArgsBuilder.build()); in runPingPongAsyncClosedLoop() local
133 String serverAddress = "localhost:" + serverPort; in runPingPongAsyncClosedLoop()
159 int serverPort = startServer(serverArgsBuilder.build()); in runGenericPingPongAsyncClosedLoop() local
162 String serverAddress = "localhost:" + serverPort; in runGenericPingPongAsyncClosedLoop()
236 final AtomicInteger serverPort = new AtomicInteger();
242 serverPort.set(value.getPort());
[all …]
/external/opencensus-java/examples/
DREADME.md87 * host and serverPort will be "localhost:50051"
99 $ ./build/install/opencensus-examples/bin/HelloWorldServer serverPort cloudProjectId zPagePort prom…
100 $ ./build/install/opencensus-examples/bin/HelloWorldClient user host serverPort cloudProjectId zPag…
105 $ ./target/appassembler/bin/HelloWorldServer serverPort cloudProjectId zPagePort prometheusPort
106 $ ./target/appassembler/bin/HelloWorldClient user host serverPort cloudProjectId zPagePort
111 $ ./bazel-bin/HelloWorldServer serverPort cloudProjectId zPagePort prometheusPort
112 $ ./bazel-bin/HelloWorldClient user host serverPort cloudProjectId zPagePort
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/grpc/helloworld/
DHelloWorldServer.java53 private final int serverPort; field in HelloWorldServer
56 private HelloWorldServer(int serverPort) { in HelloWorldServer() argument
57 this.serverPort = serverPort; in HelloWorldServer()
87 server = ServerBuilder.forPort(serverPort).addService(new GreeterImpl()).build().start(); in start()
88 logger.info("Server started, listening on " + serverPort); in start()
118 final int serverPort = getPortOrDefaultFromArgs(args, 0, 50051); in main() local
150 final HelloWorldServer server = new HelloWorldServer(serverPort); in main()
DHelloWorldClient.java107 final int serverPort = getPortOrDefaultFromArgs(args, 2, 50051); in main() local
135 HelloWorldClient client = new HelloWorldClient(host, serverPort); in main()
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/driver/
DLoadWorker.java41 private final int serverPort; field in LoadWorker
44 LoadWorker(int driverPort, int serverPort) throws Exception { in LoadWorker() argument
45 this.serverPort = serverPort; in LoadWorker()
68 int serverPort = 0; in main() local
89 serverPort = Integer.valueOf(value); in main()
108 LoadWorker loadWorker = new LoadWorker(driverPort, serverPort); in main()
134 if (serverPort != 0 && value.getSetup().getPort() == 0) { in runServer()
136 builder.getSetupBuilder().setPort(serverPort); in runServer()
/external/grpc-grpc/src/csharp/Grpc.Core/
DServerPort.cs58 internal ServerPort(ServerPort serverPort, int boundPort) in ServerPort() argument
60 this.host = serverPort.host; in ServerPort()
61 this.port = serverPort.port; in ServerPort()
62 this.credentials = serverPort.credentials; in ServerPort()
DServer.cs271 private int AddPortInternal(ServerPort serverPort) in AddPortInternal() argument
275 GrpcPreconditions.CheckNotNull(serverPort.Credentials, "serverPort"); in AddPortInternal()
277 var address = string.Format("{0}:{1}", serverPort.Host, serverPort.Port); in AddPortInternal()
279 using (var nativeCredentials = serverPort.Credentials.ToNativeCredentials()) in AddPortInternal()
290 var newServerPort = new ServerPort(serverPort, boundPort); in AddPortInternal()
448 public int Add(ServerPort serverPort) in Add() argument
450 return server.AddPortInternal(serverPort); in Add()
/external/parameter-framework/upstream/tools/xmlGenerator/
DhostConfig.py35 def configure(infile=sys.stdin, outfile=sys.stdout, serverPort=None, structPath=None): argument
44 if serverPort is not None:
45 node.setAttribute("ServerPort", serverPort)
63 configure(serverPort=sys.argv[1], structPath=sys.argv[2])
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DProxyTest.java63 int serverPort = server.init(); in smallLatency() local
67 proxy = new TrafficControlProxy(serverPort, 1024 * 1024, latency, TimeUnit.NANOSECONDS); in smallLatency()
94 int serverPort = server.init(); in bigLatency() local
98 proxy = new TrafficControlProxy(serverPort, 1024 * 1024, latency, TimeUnit.NANOSECONDS); in bigLatency()
124 int serverPort = server.init(); in smallBandwidth() local
130 proxy = new TrafficControlProxy(serverPort, bandwidth, 200, TimeUnit.MILLISECONDS); in smallBandwidth()
149 int serverPort = server.init(); in largeBandwidth() local
154 proxy = new TrafficControlProxy(serverPort, bandwidth, 200, TimeUnit.MILLISECONDS); in largeBandwidth()
DTrafficControlProxy.java44 private final int serverPort; field in TrafficControlProxy
60 public TrafficControlProxy(int serverPort) { in TrafficControlProxy() argument
61 this(serverPort, DEFAULT_BAND_BPS, DEFAULT_DELAY_NANOS, TimeUnit.NANOSECONDS); in TrafficControlProxy()
68 public TrafficControlProxy(int serverPort, int targetBps, int targetLatency, in TrafficControlProxy() argument
72 this.serverPort = serverPort; in TrafficControlProxy()
95 serverSock.connect(new InetSocketAddress(localhost, serverPort)); in start()
DNettyFlowControlTest.java71 private int serverPort; field in NettyFlowControlTest
91 serverPort = server.getPort(); in initTest()
102 proxy = new TrafficControlProxy(serverPort, HIGH_BAND, MED_LAT, TimeUnit.MILLISECONDS); in largeBdp()
111 proxy = new TrafficControlProxy(serverPort, LOW_BAND, MED_LAT, TimeUnit.MILLISECONDS); in smallBdp()
120 proxy = new TrafficControlProxy(serverPort, HIGH_BAND, MED_LAT, TimeUnit.MILLISECONDS); in verySmallWindowMakesProgress()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceClient.java78 private int serverPort = 8080; field in TestServiceClient
118 serverPort = Integer.parseInt(value); in parseArgs()
162 + "\n --server_port=PORT Port to connect to. Default " + c.serverPort in parseArgs()
354 return GoogleDefaultChannelBuilder.forAddress(serverHost, serverPort).build(); in createChannel()
357 return AltsChannelBuilder.forAddress(serverHost, serverPort).build(); in createChannel()
371 NettyChannelBuilder.forAddress(serverHost, serverPort) in createChannel()
383 OkHttpChannelBuilder okBuilder = OkHttpChannelBuilder.forAddress(serverHost, serverPort); in createChannel()
387 GrpcUtil.authorityFromHostAndPort(serverHostOverride, serverPort)); in createChannel()
DHttp2Client.java82 private int serverPort = 8080; field in Http2Client
115 serverPort = Integer.parseInt(value); in parseArgs()
130 + "\n --server_port=PORT Port to connect to. Default " + c.serverPort in parseArgs()
366 return NettyChannelBuilder.forAddress(new InetSocketAddress(address, serverPort)) in createChannel()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtcp_server.py35 serverPort = SERVER_PORT variable
49 serverPort = sn[1] variable
51 cmdStr = ("./tcp_client.py %d &") % (serverPort)
Dtcp_client.py32 serverPort = int(sys.argv[1]) variable
38 sock.connect((HostName, serverPort))
/external/grpc-grpc/tools/http2_interop/
Dhttp2interop_test.go18 serverPort = flag.Int("server_port", 443, "The port to test") var
33 ServerPort: *serverPort,
/external/error_prone/javac/
Djavac-9+181-r4173-1.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...