Searched refs:toSocket (Results 1 – 5 of 5) sorted by relevance
175 Socket toSocket = new Socket(toAddress, port); in acceptCommand() local176 byte[] localAddress = toSocket.getLocalAddress().getAddress(); in acceptCommand()178 throw new ProtocolException("unexpected address: " + toSocket.getLocalAddress()); in acceptCommand()187 fromSink.writeShort(toSocket.getLocalPort()); in acceptCommand()193 BufferedSource toSource = Okio.buffer(Okio.source(toSocket)); in acceptCommand()194 BufferedSink toSink = Okio.buffer(Okio.sink(toSocket)); in acceptCommand()
364 ChannelzProtoUtil.toSocket(socket)); in toSocket_withDataNoOptions()383 ChannelzProtoUtil.toSocket(listenSocket)); in toSocket_noDataWithOptions()403 ChannelzProtoUtil.toSocket(socket)); in toSocket_withDataWithOptions()452 ChannelzProtoUtil.toSocket(socket).getSecurity()); in socketSecurityTls()462 ChannelzProtoUtil.toSocket(socket).getSecurity()); in socketSecurityTls()472 ChannelzProtoUtil.toSocket(socket).getSecurity()); in socketSecurityTls()487 ChannelzProtoUtil.toSocket(socket).getSecurity()); in socketSecurityOther()
139 .setSocket(ChannelzProtoUtil.toSocket(socket)) in getSocket()
134 .setSocket(ChannelzProtoUtil.toSocket(s)) in getSocket()
175 static Socket toSocket(InternalInstrumented<SocketStats> obj) { in toSocket() method in ChannelzProtoUtil