Searched defs:bind (Results 1 - 25 of 39) sorted by relevance

12

/libcore/ojluni/src/main/java/java/nio/channels/
H A DNetworkChannel.java37 * 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 DServerSocketChannel.java44 * {@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 DDatagramChannel.java212 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 DSocketChannel.java229 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 DMockServerSocketChannel.java60 public ServerSocketChannel bind(SocketAddress local, int backlog) { method in class:MockServerSocketChannel
H A DMockDatagramChannel.java120 public DatagramChannel bind(SocketAddress local) throws IOException { method in class:MockDatagramChannel
H A DMockSocketChannel.java111 public SocketChannel bind(SocketAddress local) throws IOException { method in class:MockSocketChannel
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DFileDescriptorHolderSocketImpl.java77 protected void bind(InetAddress host, int port) throws IOException { method in class:FileDescriptorHolderSocketImpl
H A DServerSocketAdaptor.java66 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 DDatagramSocketAdaptor.java55 // 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 DServerSocketChannelImpl.java139 // 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 DSocketAdaptor.java152 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 DDatagramSocketImplTest.java60 protected void bind(int port, InetAddress addr) throws SocketException { method in class:MockDatagramSocketImpl
H A DSocketImplTest.java92 protected void bind(InetAddress address, int port) throws IOException { method in class:SocketImplTest.MockSocketImpl
H A DServerSocketTest.java389 * 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 DOldDatagramSocketImplFactoryTest.java134 protected void bind(int arg0, InetAddress arg1) throws SocketException { method in class:OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
H A DOldSocketImplFactoryTest.java129 protected void bind(InetAddress arg0, int arg1) throws IOException { method in class:OldSocketImplFactoryTest.MockSocketImpl
H A DOldServerSocketTest.java59 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 DDatagramSocketImpl.java64 protected abstract void bind(int lport, InetAddress laddr) throws SocketException; method in class:DatagramSocketImpl
H A DAbstractPlainDatagramSocketImpl.java94 protected synchronized void bind(int lport, InetAddress laddr) method in class:AbstractPlainDatagramSocketImpl
293 throw new SocketException("Cannot re-bind Socket");
H A DServerSocket.java186 * 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 DSocketImpl.java122 protected abstract void bind(InetAddress host, int port) throws IOException; method in class:SocketImpl
/libcore/luni/src/main/java/libcore/io/
H A DIoBridge.java81 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 DOldSocketChannelTest.java284 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 DMethodHandles.java77 public MethodHandle bind(Object receiver, String name, MethodType type) throws NoSuchMethodException, IllegalAccessException { return null; } method in class:MethodHandles.Lookup

Completed in 490 milliseconds

12