Searched refs:remoteAddress (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SocketChannelImpl.java | 90 private InetSocketAddress remoteAddress; field in SocketChannelImpl 136 this.remoteAddress = remote; in SocketChannelImpl() 161 return remoteAddress; in getRemoteAddress() 395 IoTrace.socketReadEnd(traceContext, remoteAddress.getAddress(), in read() 396 remoteAddress.getPort(), 0, n > 0 ? n : 0); in read() 460 IoTrace.socketReadEnd(traceContext, remoteAddress.getAddress(), in read() 461 remoteAddress.getPort(), 0, n > 0 ? n : 0); in read() 497 IoTrace.socketWriteEnd(traceContext, remoteAddress.getAddress(), in write() 498 remoteAddress.getPort(), n > 0 ? n : 0); in write() 534 IoTrace.socketWriteEnd(traceContext, remoteAddress.getAddress(), in write() [all …]
|
D | DatagramSocketAdaptor.java | 124 return dc.remoteAddress() != null; in isConnected() 129 ? Net.asInetSocketAddress(dc.remoteAddress()).getAddress() in getInetAddress() 135 ? Net.asInetSocketAddress(dc.remoteAddress()).getPort() in getPort() 153 dc.remoteAddress(); in send()
|
D | DatagramChannelImpl.java | 94 private InetSocketAddress remoteAddress; field in DatagramChannelImpl 181 return remoteAddress; in getRemoteAddress() 462 if (!target.equals(remoteAddress)) { in send() 672 public SocketAddress remoteAddress() { in remoteAddress() method in DatagramChannelImpl 674 return remoteAddress; in remoteAddress() 753 remoteAddress = isa; in connect() 772 InetSocketAddress isa = remoteAddress; in disconnect() 779 remoteAddress = null; in disconnect()
|
D | SocketAdaptor.java | 166 SocketAddress remote = sc.remoteAddress(); in getInetAddress() 189 SocketAddress remote = sc.remoteAddress(); in getPort()
|
D | Net.java | 511 static InetSocketAddress remoteAddress(FileDescriptor fd)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketTest.java | 745 InetSocketAddress remoteAddress = (InetSocketAddress) s.getRemoteSocketAddress(); in test_getLocalSocketAddress_unbound() local 746 assertNull(remoteAddress); in test_getLocalSocketAddress_unbound()
|