/libcore/ojluni/src/main/java/java/nio/channels/ |
H A D | NetworkChannel.java | 38 * socket to a local {@link SocketAddress address}, the {@link #getLocalAddress() 58 * Binds the channel's socket to a local address. 61 * a local address. Once an association is established then the socket remains 62 * bound until the channel is closed. If the {@code local} parameter has the 66 * @param local 87 NetworkChannel bind(SocketAddress local) throws IOException; argument
|
H A D | ServerSocketChannel.java | 129 * Binds the channel's socket to a local address and configures the socket 134 * bind(local, 0); 137 * @param local 138 * The local address to bind the socket, or {@code null} to bind 154 public final ServerSocketChannel bind(SocketAddress local) argument 157 return bind(local, 0); 161 * Binds the channel's socket to a local address and configures the socket to 165 * a local address. Once an association is established then the socket remains 175 * @param local 198 public abstract ServerSocketChannel bind(SocketAddress local, in argument [all...] |
H A D | AsynchronousServerSocketChannel.java | 40 * It can be bound to a local address and configured to listen for connections 170 * Binds the channel's socket to a local address and configures the socket to 175 * bind(local, 0); 178 * @param local 179 * The local address to bind the socket, or <tt>null</tt> to bind 190 public final AsynchronousServerSocketChannel bind(SocketAddress local) argument 193 return bind(local, 0); 197 * Binds the channel's socket to a local address and configures the socket to 201 * a local address. Once an association is established then the socket remains 211 * @param local 231 bind(SocketAddress local, int backlog) argument [all...] |
H A D | AsynchronousSocketChannel.java | 209 public abstract AsynchronousSocketChannel bind(SocketAddress local) argument 672 * called with the local address and {@code -1} as its arguments to see 676 * local port of the channel's socket is returned.
|
H A D | DatagramChannel.java | 215 public abstract DatagramChannel bind(SocketAddress local) argument 575 * called with the local address and {@code -1} as its arguments to see 579 * local port of the channel's socket is returned.
|
H A D | SocketChannel.java | 238 public abstract SocketChannel bind(SocketAddress local) argument 327 * is established immediately, as can happen with a local connection, then 509 * called with the local address and {@code -1} as its arguments to see 513 * local port of the channel's socket is returned.
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | MockServerSocketChannel.java | 60 public ServerSocketChannel bind(SocketAddress local, int backlog) { argument
|
H A D | MockDatagramChannel.java | 115 public DatagramChannel bind(SocketAddress local) throws IOException { argument
|
H A D | MockSocketChannel.java | 111 public SocketChannel bind(SocketAddress local) throws IOException { argument
|
H A D | SocketChannelTest.java | 173 // Bind to a local address that is in use 3834 public SocketChannel bind(SocketAddress local) throws IOException { argument
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | ServerSocketAdaptor.java | 66 public void bind(SocketAddress local) throws IOException { argument 67 bind(local, 50); 70 public void bind(SocketAddress local, int backlog) throws IOException { argument 71 if (local == null) 72 local = new InetSocketAddress(0); 74 ssc.bind(local, backlog);
|
H A D | AsynchronousServerSocketChannelImpl.java | 53 // the local address to which the channel's socket is bound 56 // need this lock to set local address 147 public final AsynchronousServerSocketChannel bind(SocketAddress local, int backlog) argument 150 InetSocketAddress isa = (local == null) ? new InetSocketAddress(0) : 151 Net.checkAddress(local);
|
H A D | DatagramSocketAdaptor.java | 87 public void bind(SocketAddress local) throws SocketException { argument 89 if (local == null) 90 local = new InetSocketAddress(0); 91 dc.bind(local); 229 SocketAddress local = dc.localAddress(); 230 if (local == null) 231 local = new InetSocketAddress(0); 232 InetAddress result = ((InetSocketAddress)local).getAddress(); 248 SocketAddress local = dc.getLocalAddress(); 249 if (local ! [all...] |
H A D | ServerSocketChannelImpl.java | 212 public ServerSocketChannel bind(SocketAddress local, int backlog) throws IOException { argument 218 InetSocketAddress isa = (local == null) ? new InetSocketAddress(0) : 219 Net.checkAddress(local);
|
H A D | SocketAdaptor.java | 138 public void bind(SocketAddress local) throws IOException { argument 140 sc.bind(local); 162 InetSocketAddress local = sc.localAddress(); 163 if (local != null) { 164 return Net.getRevealedLocalAddress(local).getAddress(); 185 SocketAddress local = sc.localAddress(); 186 if (local == null) { 189 return ((InetSocketAddress)local).getPort();
|
H A D | AsynchronousSocketChannelImpl.java | 420 public final AsynchronousSocketChannel bind(SocketAddress local) argument 430 InetSocketAddress isa = (local == null) ? 431 new InetSocketAddress(0) : Net.checkAddress(local); 592 sb.append(" local=");
|
H A D | SocketChannelImpl.java | 607 public SocketChannel bind(SocketAddress local) throws IOException { argument 617 InetSocketAddress isa = (local == null) ? 618 new InetSocketAddress(0) : Net.checkAddress(local); 1064 sb.append(" local=");
|
H A D | DatagramChannelImpl.java | 710 public DatagramChannel bind(SocketAddress local) throws IOException { argument 718 if (local == null) { 726 isa = Net.checkAddress(local); 789 // set or refresh local address 833 // refresh local address
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | OldSocketChannelTest.java | 435 public SocketChannel bind(SocketAddress local) throws IOException { argument
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
H A D | FtpClient.java | 362 * @param local the {@code OutputStream} the file should be written to. 368 public abstract FtpClient getFile(String name, OutputStream local) throws FtpProtocolException, IOException; argument 456 * @param local the {@code InputStream} that points to the data to 462 public FtpClient putFile(String name, InputStream local) throws FtpProtocolException, IOException { argument 463 return putFile(name, local, false); 479 * @param local the {@code InputStream} that points to the data to 488 public abstract FtpClient putFile(String name, InputStream local, boolean unique) throws FtpProtocolException, IOException; argument 500 * @param local The {@code InputStream} providing access to the data 506 public abstract FtpClient appendFile(String name, InputStream local) throws FtpProtocolException, IOException; argument
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
H A D | FtpClient.java | 1228 * @param local the <code>OutputStream</code> the file should be written to. 1231 public sun.net.ftp.FtpClient getFile(String name, OutputStream local) throws sun.net.ftp.FtpProtocolException, IOException { argument 1247 local.write(buf, 0, l); 1259 local.write(buf, 0, l); 1349 * @param local the <code>InputStream</code> that points to the data to 1357 public sun.net.ftp.FtpClient putFile(String name, InputStream local, boolean unique) throws sun.net.ftp.FtpProtocolException, IOException { argument 1365 while ((l = local.read(buf)) >= 0) { 1382 * @param local The <code>InputStream</code> providing access to the data 1387 public sun.net.ftp.FtpClient appendFile(String name, InputStream local) throws sun.net.ftp.FtpProtocolException, IOException { argument 1393 while ((l = local [all...] |