/libcore/ojluni/src/main/java/java/nio/channels/ |
H A D | NetworkChannel.java | 37 * socket. The {@link #bind(SocketAddress) bind} method is used to bind the 45 * <p> The {@link #bind bind} and {@link #setOption setOption} methods that do 67 * The address to bind the socket, or {@code null} to bind the socket 87 NetworkChannel bind(SocketAddress local) throws IOException; method in interface:NetworkChannel 92 * <p> Where the channel is {@link #bind bound} to an Internet Protocol
|
H A D | ServerSocketChannel.java | 44 * {@link #bind(java.net.SocketAddress,int) bind} methods defined by this class. 99 * java.net.ServerSocket#bind(SocketAddress) bind} methods before 134 * bind(local, 0); 138 * The local address to bind the socket, or {@code null} to bind 154 public final ServerSocketChannel bind(SocketAddress local) method in class:ServerSocketChannel 157 return bind(local, 0); 176 * The address to bind th 198 public abstract ServerSocketChannel bind(SocketAddress local, int backlog) method in class:ServerSocketChannel [all...] |
H A D | AsynchronousServerSocketChannel.java | 41 * by invoking the {@link #bind(SocketAddress,int) bind} method. Once bound, 75 * AsynchronousServerSocketChannel.open().bind(new InetSocketAddress(5000)); 175 * bind(local, 0); 179 * The local address to bind the socket, or <tt>null</tt> to bind 190 public final AsynchronousServerSocketChannel bind(SocketAddress local) method in class:AsynchronousServerSocketChannel 193 return bind(local, 0); 212 * The local address to bind the socket, or {@code null} to bind 231 public abstract AsynchronousServerSocketChannel bind(SocketAddress local, int backlog) method in class:AsynchronousServerSocketChannel [all...] |
H A D | AsynchronousSocketChannel.java | 209 public abstract AsynchronousSocketChannel bind(SocketAddress local) method in class:AsynchronousSocketChannel
|
H A D | DatagramChannel.java | 215 public abstract DatagramChannel bind(SocketAddress local) method in class:DatagramChannel 269 * automatically, as if invoking the {@link #bind bind} method with a 367 * automatically, as if invoking the {@link #bind bind} method with a 427 * automatically, as if by invoking the {@link #bind bind} method with a
|
H A D | SocketChannel.java | 238 public abstract SocketChannel bind(SocketAddress local) method in class:SocketChannel
|
/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) { method in class:MockServerSocketChannel
|
H A D | MockDatagramChannel.java | 115 public DatagramChannel bind(SocketAddress local) throws IOException { method in class:MockDatagramChannel
|
H A D | MockSocketChannel.java | 111 public SocketChannel bind(SocketAddress local) throws IOException { method in class:MockSocketChannel
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | FileDescriptorHolderSocketImpl.java | 77 protected void bind(InetAddress host, int port) throws IOException { method in class:FileDescriptorHolderSocketImpl
|
H A D | ServerSocketAdaptor.java | 66 public void bind(SocketAddress local) throws IOException { method in class:ServerSocketAdaptor 67 bind(local, 50); 70 public void bind(SocketAddress local, int backlog) throws IOException { method in class:ServerSocketAdaptor 74 ssc.bind(local, backlog);
|
H A D | AsynchronousServerSocketChannelImpl.java | 147 public final AsynchronousServerSocketChannel bind(SocketAddress local, int backlog) method in class:AsynchronousServerSocketChannelImpl 162 Net.bind(fd, isa.getAddress(), isa.getPort()); 194 // SO_REUSEADDR emulated when using exclusive bind 218 // SO_REUSEADDR emulated when using exclusive bind
|
H A D | DatagramSocketAdaptor.java | 55 // resource allocation in super class and invoking our bind method 87 public void bind(SocketAddress local) throws SocketException { method in class:DatagramSocketAdaptor 91 dc.bind(local); 380 protected void bind(int lport, InetAddress laddr) throws SocketException {}
|
H A D | ServerSocketChannelImpl.java | 147 // SO_REUSEADDR emulated when using exclusive bind 173 // SO_REUSEADDR emulated when using exclusive bind 211 public ServerSocketChannel bind(SocketAddress local, int backlog) throws IOException { method in class:ServerSocketChannelImpl 223 Net.bind(fd, isa.getAddress(), isa.getPort());
|
H A D | SocketAdaptor.java | 138 public void bind(SocketAddress local) throws IOException { method in class:SocketAdaptor 140 sc.bind(local);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | DatagramSocketImplTest.java | 67 protected void bind(int port, InetAddress addr) throws SocketException { method in class:MockDatagramSocketImpl
|
H A D | SocketImplTest.java | 98 protected void bind(InetAddress address, int port) throws IOException { method in class:SocketImplTest.MockSocketImpl
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldDatagramSocketImplFactoryTest.java | 134 protected void bind(int arg0, InetAddress arg1) throws SocketException { method in class:OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
|
H A D | OldSocketImplFactoryTest.java | 129 protected void bind(InetAddress arg0, int arg1) throws IOException { method in class:OldSocketImplFactoryTest.MockSocketImpl
|
H A D | OldServerSocketTest.java | 59 theSocket.bind(theAddress); 183 ss2.bind(new InetSocketAddress("127.0.0.1", 4343)); 343 protected void bind(InetAddress arg0, int arg1) throws IOException { method in class:OldServerSocketTest.MockSocketImpl
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | IoBridge.java | 81 public static void bind(FileDescriptor fd, InetAddress address, int port) throws SocketException { method in class:IoBridge 85 // Linux won't let you bind a link-local address without a scope id. 89 throw new SocketException("Can't bind to a link-local address without a scope id: " + address); 99 Libcore.os.bind(fd, address, port);
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | AbstractPlainDatagramSocketImpl.java | 108 protected synchronized void bind(int lport, InetAddress laddr) method in class:AbstractPlainDatagramSocketImpl 312 throw new SocketException("Cannot re-bind Socket");
|
H A D | DatagramSocketImpl.java | 84 protected abstract void bind(int lport, InetAddress laddr) throws SocketException; method in class:DatagramSocketImpl
|
H A D | ServerSocket.java | 186 * local IP address to bind to. The <i>bindAddr</i> argument 214 * @param bindAddr the local InetAddress the server will bind to 237 bind(new InetSocketAddress(bindAddr, port), backlog); 319 * an ephemeral port and a valid local address to bind the socket. 321 * @param endpoint The IP address and port number to bind to. 322 * @throws IOException if the bind operation fails, or if the socket 330 public void bind(SocketAddress endpoint) throws IOException { method in class:ServerSocket 331 bind(endpoint, 50); 340 * an ephemeral port and a valid local address to bind the socket. 348 * @param endpoint The IP address and port number to bind t 359 public void bind(SocketAddress endpoint, int backlog) throws IOException { method in class:ServerSocket [all...] |
H A D | SocketImpl.java | 122 protected abstract void bind(InetAddress host, int port) throws IOException; method in class:SocketImpl
|