/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 93 * <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. 96 * java.net.ServerSocket#bind(SocketAddress) bind} methods before 131 * bind(local, 0); 135 * The local address to bind the socket, or {@code null} to bind 151 public final ServerSocketChannel bind(SocketAddress local) method in class:ServerSocketChannel 154 return bind(local, 0); 173 * The address to bind th 195 public abstract ServerSocketChannel bind(SocketAddress local, int backlog) method in class:ServerSocketChannel [all...] |
H A D | DatagramChannel.java | 212 public abstract DatagramChannel bind(SocketAddress local) method in class:DatagramChannel 266 * automatically, as if invoking the {@link #bind bind} method with a 364 * automatically, as if invoking the {@link #bind bind} method with a 424 * automatically, as if by invoking the {@link #bind bind} method with a
|
H A D | SocketChannel.java | 229 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 | 120 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 | 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); 389 protected void bind(int lport, InetAddress laddr) throws SocketException {}
|
H A D | ServerSocketChannelImpl.java | 139 // SO_REUSEADDR emulated when using exclusive bind 165 // SO_REUSEADDR emulated when using exclusive bind 202 public ServerSocketChannel bind(SocketAddress local, int backlog) throws IOException { method in class:ServerSocketChannelImpl 214 Net.bind(fd, isa.getAddress(), isa.getPort());
|
H A D | SocketAdaptor.java | 152 public void bind(SocketAddress local) throws IOException { method in class:SocketAdaptor 154 sc.bind(local);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | DatagramSocketImplTest.java | 60 protected void bind(int port, InetAddress addr) throws SocketException { method in class:MockDatagramSocketImpl
|
H A D | SocketImplTest.java | 92 protected void bind(InetAddress address, int port) throws IOException { method in class:SocketImplTest.MockSocketImpl
|
H A D | ServerSocketTest.java | 389 * java.net.ServerSocket#bind(java.net.SocketAddress) 396 // create servers socket, bind it and then validate basic state 400 theSocket.bind(theAddress); 427 // validate we can specify null for the address in the bind and all 430 theSocket.bind(null); 438 theSocket.bind(theAddress); 440 theSocket2.bind(localAddress); 447 // validate we get io address when we try to bind to address we 448 // cannot bind to 451 theSocket.bind(ne 908 protected void bind(InetAddress arg0, int arg1) throws IOException { method in class:ServerSocketTest.MockSocketImpl [all...] |
/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)); 352 protected void bind(InetAddress arg0, int arg1) throws IOException { method in class:OldServerSocketTest.MockSocketImpl
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | DatagramSocketImpl.java | 64 protected abstract void bind(int lport, InetAddress laddr) throws SocketException; method in class:DatagramSocketImpl
|
H A D | AbstractPlainDatagramSocketImpl.java | 94 protected synchronized void bind(int lport, InetAddress laddr) method in class:AbstractPlainDatagramSocketImpl 293 throw new SocketException("Cannot re-bind Socket");
|
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 & 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 & 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
|
/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/luni/src/test/java/libcore/java/nio/channels/ |
H A D | OldSocketChannelTest.java | 284 ssc.socket().bind(null, 0); 435 public SocketChannel bind(SocketAddress local) throws IOException { method in class:OldSocketChannelTest.MockSocketChannel
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
H A D | MethodHandles.java | 77 public MethodHandle bind(Object receiver, String name, MethodType type) throws NoSuchMethodException, IllegalAccessException { return null; } method in class:MethodHandles.Lookup
|