Home
last modified time | relevance | path

Searched refs:TRANSPORT_ATTR_REMOTE_ADDR (Results 1 – 12 of 12) sorted by relevance

/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DProtocolNegotiators.java92 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, ctx.channel().remoteAddress()) in serverPlaintext()
159 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, ctx.channel().remoteAddress())
653 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, ctx.channel().remoteAddress())
701 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, ctx.channel().remoteAddress())
744 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, ctx.channel().remoteAddress())
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DGrpc.java34 public static final Attributes.Key<SocketAddress> TRANSPORT_ATTR_REMOTE_ADDR = field in Grpc
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsProtocolNegotiator.java126 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, ctx.channel().remoteAddress())
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DServerImplTest.java580 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, remoteAddr) in transportFilters()
599 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, remoteAddr) in transportFilters()
620 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, remoteAddr) in transportFilters()
627 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, remoteAddr).build()); in transportFilters()
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DBinlogHelperTest.java837 getPeerSocket(Attributes.newBuilder().set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, peer).build())); in getPeerSocketTest()
966 return Attributes.newBuilder().set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, peer).build(); in clientInterceptor()
1130 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, peer) in serverInterceptor()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsProtocolNegotiatorTest.java346 assertThat(grpcHandler.attrs.get(Grpc.TRANSPORT_ATTR_REMOTE_ADDR).toString()) in peerPropagated()
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessTransport.java134 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, new InProcessSocketAddress(name)) in start()
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DBinlogHelper.java317 SocketAddress peer = streamAttributes.get(Grpc.TRANSPORT_ATTR_REMOTE_ADDR); in getPeerSocket()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DAbstractTransportTest.java709 assertNotNull(serverStream.getAttributes().get(Grpc.TRANSPORT_ATTR_REMOTE_ADDR)); in basicStream()
1718 SocketAddress serverAddress = clientStream.getAttributes().get(Grpc.TRANSPORT_ATTR_REMOTE_ADDR); in socketStats()
1719 SocketAddress clientAddress = serverStream.getAttributes().get(Grpc.TRANSPORT_ATTR_REMOTE_ADDR); in socketStats()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyClientTransportTest.java538 assertEquals(address, rpc.stream.getAttributes().get(Grpc.TRANSPORT_ATTR_REMOTE_ADDR)); in clientStreamGetsAttributes()
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpClientTransport.java486 .set(Grpc.TRANSPORT_ATTR_REMOTE_ADDR, sock.getRemoteSocketAddress()) in start()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DAbstractInteropTest.java1769 return serverCallCapture.get().getAttributes().get(Grpc.TRANSPORT_ATTR_REMOTE_ADDR); in obtainRemoteClientAddr()