Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousSocketChannelImpl.java58 protected volatile InetSocketAddress remoteAddress = null; field in AsynchronousSocketChannelImpl
104 this.remoteAddress = remote; in AsynchronousSocketChannelImpl()
240 if (remoteAddress == null) in read()
345 if (remoteAddress == null) in write()
528 return remoteAddress; in getRemoteAddress()
535 if (remoteAddress == null) in shutdownInput()
553 if (remoteAddress == null) in shutdownOutput()
596 if (remoteAddress != null) { in toString()
598 sb.append(remoteAddress.toString()); in toString()
DSocketChannelImpl.java110 private InetSocketAddress remoteAddress; field in SocketChannelImpl
171 this.remoteAddress = remote; in SocketChannelImpl()
200 return remoteAddress; in getRemoteAddress()
602 public SocketAddress remoteAddress() { in remoteAddress() method in SocketChannelImpl
604 return remoteAddress; in remoteAddress()
711 remoteAddress = isa; in connect()
1076 if (remoteAddress() != null) { in toString()
1078 sb.append(remoteAddress().toString()); in toString()
DDatagramSocketAdaptor.java124 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()
DDatagramChannelImpl.java99 private InetSocketAddress remoteAddress; field in DatagramChannelImpl
206 return remoteAddress; in getRemoteAddress()
488 if (!target.equals(remoteAddress)) { in send()
699 public SocketAddress remoteAddress() { in remoteAddress() method in DatagramChannelImpl
701 return remoteAddress; in remoteAddress()
780 remoteAddress = isa; in connect()
819 InetSocketAddress isa = remoteAddress; in disconnect()
826 remoteAddress = null; in disconnect()
DSocketAdaptor.java155 SocketAddress remote = sc.remoteAddress(); in getInetAddress()
178 SocketAddress remote = sc.remoteAddress(); in getPort()
DNet.java500 static InetSocketAddress remoteAddress(FileDescriptor fd)
DUnixAsynchronousSocketChannelImpl.java268 remoteAddress = (InetSocketAddress)pendingRemote; in setConnected()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketTest.java769 InetSocketAddress remoteAddress = (InetSocketAddress) s.getRemoteSocketAddress(); in test_getLocalSocketAddress_unbound() local
770 assertNull(remoteAddress); in test_getLocalSocketAddress_unbound()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousSocketChannelTest.java65 InetSocketAddress remoteAddress = new InetSocketAddress("localhost", ss.getLocalPort()); in test_connect() local
66 Future<Void> connectFuture = asc.connect(remoteAddress); in test_connect()