/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SocketAdaptor.java | 81 public void connect(SocketAddress remote) throws IOException { in connect() argument 82 connect(remote, 0); in connect() 85 public void connect(SocketAddress remote, int timeout) throws IOException { in connect() argument 86 if (remote == null) in connect() 101 sc.connect(remote); in connect() 111 if (sc.connect(remote)) in connect() 155 SocketAddress remote = sc.remoteAddress(); in getInetAddress() local 156 if (remote == null) { in getInetAddress() 159 return ((InetSocketAddress)remote).getAddress(); in getInetAddress() 178 SocketAddress remote = sc.remoteAddress(); in getPort() local [all …]
|
D | DatagramSocketAdaptor.java | 69 private void connectInternal(SocketAddress remote) in connectInternal() argument 72 InetSocketAddress isa = Net.asInetSocketAddress(remote); in connectInternal() 76 if (remote == null) in connectInternal() 81 dc.connect(remote); in connectInternal() 105 public void connect(SocketAddress remote) throws SocketException { in connect() argument 106 if (remote == null) in connect() 108 connectInternal(remote); in connect()
|
D | UnixAsynchronousServerSocketChannelImpl.java | 227 final InetSocketAddress remote, in finishAccept() argument 233 ch = new UnixAsynchronousSocketChannelImpl(port, newfd, remote); in finishAccept() 246 sm.checkAccept(remote.getAddress().getHostAddress(), in finishAccept() 247 remote.getPort()); in finishAccept() 255 sm.checkAccept(remote.getAddress().getHostAddress(), in finishAccept() 256 remote.getPort()); in finishAccept()
|
D | AsynchronousSocketChannelImpl.java | 97 InetSocketAddress remote) in AsynchronousSocketChannelImpl() argument 104 this.remoteAddress = remote; in AsynchronousSocketChannelImpl() 193 abstract <A> Future<Void> implConnect(SocketAddress remote, in implConnect() argument 198 public final Future<Void> connect(SocketAddress remote) { in connect() argument 199 return implConnect(remote, null, null); in connect() 203 public final <A> void connect(SocketAddress remote, in connect() argument 209 implConnect(remote, attachment, handler); in connect()
|
D | Net.java | 452 static int connect(FileDescriptor fd, InetAddress remote, int remotePort) 455 return connect(UNSPEC, fd, remote, remotePort); 458 static int connect(ProtocolFamily family, FileDescriptor fd, InetAddress remote, int remotePort) 466 return connect0(preferIPv6, fd, remote, remotePort); 471 InetAddress remote,
|
D | UnixAsynchronousSocketChannelImpl.java | 124 InetSocketAddress remote) in UnixAsynchronousSocketChannelImpl() argument 127 super(port, fd, remote); in UnixAsynchronousSocketChannelImpl() 311 <A> Future<Void> implConnect(SocketAddress remote, in implConnect() argument 325 InetSocketAddress isa = Net.checkAddress(remote); in implConnect() 340 pendingRemote = remote; in implConnect()
|
D | SocketChannelImpl.java | 163 FileDescriptor fd, InetSocketAddress remote) in SocketChannelImpl() argument 171 this.remoteAddress = remote; in SocketChannelImpl()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | SocketChannel.java | 184 public static SocketChannel open(SocketAddress remote) in open() argument 189 sc.connect(remote); in open() 389 public abstract boolean connect(SocketAddress remote) throws IOException; in connect() argument
|
D | AsynchronousSocketChannel.java | 324 public abstract <A> void connect(SocketAddress remote, in connect() argument 355 public abstract Future<Void> connect(SocketAddress remote); in connect() argument
|
D | DatagramChannel.java | 297 public abstract DatagramChannel connect(SocketAddress remote) in connect() argument
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
D | FtpClient.java | 1247 InputStream remote = createInputStream(s.getInputStream()); in getFile() local 1250 while ((l = remote.read(buf)) >= 0) { in getFile() 1255 remote.close(); in getFile() 1259 InputStream remote = createInputStream(s.getInputStream()); in getFile() local 1262 while ((l = remote.read(buf)) >= 0) { in getFile() 1267 remote.close(); in getFile() 1367 OutputStream remote = createOutputStream(s.getOutputStream()); in putFile() local 1372 remote.write(buf, 0, l); in putFile() 1375 remote.close(); in putFile() 1395 OutputStream remote = createOutputStream(s.getOutputStream()); in appendFile() local [all …]
|