Searched defs:getLocalAddress (Results 1 - 22 of 22) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/channels/
H A DNetworkChannel.java38 * socket to a local {@link SocketAddress address}, the {@link #getLocalAddress()
39 * getLocalAddress} method returns the address that the socket is bound to, and
85 * @see #getLocalAddress
104 SocketAddress getLocalAddress() throws IOException; method in interface:NetworkChannel
H A DServerSocketChannel.java290 public abstract SocketAddress getLocalAddress() throws IOException; method in class:ServerSocketChannel
H A DAsynchronousServerSocketChannel.java327 public abstract SocketAddress getLocalAddress() throws IOException; method in class:AsynchronousServerSocketChannel
H A DAsynchronousSocketChannel.java686 public abstract SocketAddress getLocalAddress() throws IOException; method in class:AsynchronousSocketChannel
H A DDatagramChannel.java590 public abstract SocketAddress getLocalAddress() throws IOException; method in class:DatagramChannel
H A DSocketChannel.java524 public abstract SocketAddress getLocalAddress() throws IOException; method in class:SocketChannel
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DMockServerSocketChannel.java75 public SocketAddress getLocalAddress() throws IOException { method in class:MockServerSocketChannel
H A DMockDatagramChannel.java136 public SocketAddress getLocalAddress() throws IOException { method in class:MockDatagramChannel
H A DMockSocketChannel.java126 public SocketAddress getLocalAddress() throws IOException { method in class:MockSocketChannel
H A DSocketChannelTest.java498 assertEquals("127.0.0.1", socket.getLocalAddress().getHostAddress());
504 assertTrue(s.getLocalAddress().isAnyLocalAddress());
513 assertTrue(s.getLocalAddress().isLoopbackAddress());
576 assertEquals(s.getLocalAddress(), this.localAddr1.getAddress());
3849 public SocketAddress getLocalAddress() throws IOException { method in class:SocketChannelTest.MockSocketChannel
/libcore/ojluni/src/main/java/sun/net/
H A DNetworkClient.java200 protected InetAddress getLocalAddress() throws IOException { method in class:NetworkClient
206 return serverSocket.getLocalAddress();
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DAsynchronousServerSocketChannelImpl.java173 public final SocketAddress getLocalAddress() throws IOException { method in class:AsynchronousServerSocketChannelImpl
H A DDatagramSocketAdaptor.java226 public InetAddress getLocalAddress() { method in class:DatagramSocketAdaptor
248 SocketAddress local = dc.getLocalAddress();
H A DServerSocketChannelImpl.java116 public SocketAddress getLocalAddress() throws IOException { method in class:ServerSocketChannelImpl
H A DSocketAdaptor.java160 public InetAddress getLocalAddress() { method in class:SocketAdaptor
H A DAsynchronousSocketChannelImpl.java447 public final SocketAddress getLocalAddress() throws IOException { method in class:AsynchronousSocketChannelImpl
H A DSocketChannelImpl.java185 public SocketAddress getLocalAddress() throws IOException { method in class:SocketChannelImpl
H A DDatagramChannelImpl.java208 public SocketAddress getLocalAddress() throws IOException { method in class:DatagramChannelImpl
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DOldSocketChannelTest.java450 public SocketAddress getLocalAddress() throws IOException { method in class:OldSocketChannelTest.MockSocketChannel
/libcore/ojluni/src/main/java/java/net/
H A DDatagramSocket.java623 * @see #getLocalAddress()
634 return new InetSocketAddress(getLocalAddress(), getLocalPort());
882 public InetAddress getLocalAddress() { method in class:DatagramSocket
H A DSocket.java740 public InetAddress getLocalAddress() { method in class:Socket
849 * @see #getLocalAddress()
859 return new InetSocketAddress(getLocalAddress(), getLocalPort());
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java3321 @Override public InetAddress getLocalAddress() { return delegate.getLocalAddress(); } method in class:URLConnectionTest.DelegatingSocket
3470 @Override public InetAddress getLocalAddress() { method in class:URLConnectionTest.DelegatingSSLSocket
3471 return delegate.getLocalAddress();

Completed in 378 milliseconds