Searched refs:remoteAddress (Results 1 - 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
H A DAsynchronousSocketChannelImpl.java54 // protects state, localAddress, and remoteAddress
58 protected volatile InetSocketAddress remoteAddress = null; field in class:AsynchronousSocketChannelImpl
104 this.remoteAddress = remote;
240 if (remoteAddress == null)
345 if (remoteAddress == null)
528 return remoteAddress;
535 if (remoteAddress == null)
553 if (remoteAddress == null)
596 if (remoteAddress != null) {
598 sb.append(remoteAddress
[all...]
H A DSocketChannelImpl.java110 private InetSocketAddress remoteAddress; field in class:SocketChannelImpl
171 this.remoteAddress = remote;
200 return remoteAddress;
602 public SocketAddress remoteAddress() { method in class:SocketChannelImpl
604 return remoteAddress;
711 remoteAddress = isa;
1069 if (remoteAddress() != null) {
1071 sb.append(remoteAddress().toString());
H A DDatagramSocketAdaptor.java124 return dc.remoteAddress() != null;
129 ? Net.asInetSocketAddress(dc.remoteAddress()).getAddress()
135 ? Net.asInetSocketAddress(dc.remoteAddress()).getPort()
153 dc.remoteAddress();
H A DDatagramChannelImpl.java117 private InetSocketAddress remoteAddress; field in class:DatagramChannelImpl
226 return remoteAddress;
497 if (!target.equals(remoteAddress)) {
707 public SocketAddress remoteAddress() { method in class:DatagramChannelImpl
709 return remoteAddress;
788 remoteAddress = isa;
827 InetSocketAddress isa = remoteAddress;
834 remoteAddress = null;
H A DSocketAdaptor.java147 // Use #remoteAddress and do manual isConnected check. #getRemoteAddress() returns
152 SocketAddress remote = sc.remoteAddress();
171 // Use #remoteAddress and do manual isConnected check. #getRemoteAddress() returns
176 SocketAddress remote = sc.remoteAddress();
H A DNet.java500 static InetSocketAddress remoteAddress(FileDescriptor fd) method in class:Net
H A DUnixAsynchronousSocketChannelImpl.java268 remoteAddress = (InetSocketAddress)pendingRemote;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DDatagramSocketTest.java769 InetSocketAddress remoteAddress = (InetSocketAddress) s.getRemoteSocketAddress();
770 assertNull(remoteAddress);
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DAsynchronousSocketChannelTest.java65 InetSocketAddress remoteAddress = new InetSocketAddress("localhost", ss.getLocalPort());
66 Future<Void> connectFuture = asc.connect(remoteAddress);

Completed in 113 milliseconds