Searched defs:bind (Results 1 - 25 of 44) 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
92 * <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.
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 DAsynchronousServerSocketChannel.java41 * 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 DAsynchronousSocketChannel.java209 public abstract AsynchronousSocketChannel bind(SocketAddress local) method in class:AsynchronousSocketChannel
H A DDatagramChannel.java215 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 DSocketChannel.java238 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.java115 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 DAsynchronousServerSocketChannelImpl.java147 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 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);
380 protected void bind(int lport, InetAddress laddr) throws SocketException {}
H A DServerSocketChannelImpl.java147 // 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 DSocketAdaptor.java138 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 DDatagramSocketImplTest.java67 protected void bind(int port, InetAddress addr) throws SocketException { method in class:MockDatagramSocketImpl
H A DSocketImplTest.java98 protected void bind(InetAddress address, int port) throws IOException { method in class:SocketImplTest.MockSocketImpl
/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));
343 protected void bind(InetAddress arg0, int arg1) throws IOException { method in class:OldServerSocketTest.MockSocketImpl
/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/ojluni/src/main/java/java/net/
H A DAbstractPlainDatagramSocketImpl.java108 protected synchronized void bind(int lport, InetAddress laddr) method in class:AbstractPlainDatagramSocketImpl
312 throw new SocketException("Cannot re-bind Socket");
H A DDatagramSocketImpl.java84 protected abstract void bind(int lport, InetAddress laddr) throws SocketException; method in class:DatagramSocketImpl
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 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 DSocketImpl.java122 protected abstract void bind(InetAddress host, int port) throws IOException; method in class:SocketImpl

Completed in 437 milliseconds

12