/libcore/ojluni/src/main/java/java/nio/channels/ |
H A D | AsynchronousSocketChannel.java | 266 * Returns the remote address to which this channel's socket is connected. 272 * @return The remote address; {@code null} if the channel's socket is not 297 * connecting to the address and port number of the given remote endpoint. 301 * @param remote 302 * The remote address to which this channel is to be connected 309 * If the given remote address is not fully resolved 311 * If the type of the given remote address is not supported 320 * and it does not permit access to the given remote endpoint 324 public abstract <A> void connect(SocketAddress remote, argument 338 * @param remote 355 connect(SocketAddress remote) argument [all...] |
H A D | DatagramChannel.java | 251 * datagrams from, and sends datagrams to, the given remote <i>peer</i> 263 * remote address. 272 * @param remote 273 * The remote address to which this channel is to be connected 292 * and it does not permit access to the given remote address 297 public abstract DatagramChannel connect(SocketAddress remote) argument 304 * from, and sends datagrams to, any remote address so long as the security 322 * Returns the remote address to which this channel's socket is connected. 324 * @return The remote address; {@code null} if the channel's socket is not 355 * to a specific remote addres [all...] |
H A D | SocketChannel.java | 51 * remote socket may be initiated via the {@link #connect connect} method for 149 * Opens a socket channel and connects it to a remote address. 153 * the resulting socket channel, passing it <tt>remote</tt>, and then 156 * @param remote 157 * The remote address to which the new channel is to be connected 172 * If the given remote address is not fully resolved 175 * If the type of the given remote address is not supported 179 * and it does not permit access to the given remote endpoint 184 public static SocketChannel open(SocketAddress remote) argument 189 sc.connect(remote); 389 connect(SocketAddress remote) argument [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | UnixAsynchronousServerSocketChannelImpl.java | 222 * the given file descriptor and remote address. If this method completes 227 final InetSocketAddress remote, 233 ch = new UnixAsynchronousSocketChannelImpl(port, newfd, remote); 246 sm.checkAccept(remote.getAddress().getHostAddress(), 247 remote.getPort()); 255 sm.checkAccept(remote.getAddress().getHostAddress(), 256 remote.getPort()); 375 // the new socket and setting isaa[0] to the socket's remote address. 226 finishAccept(FileDescriptor newfd, final InetSocketAddress remote, AccessControlContext acc) argument
|
H A D | DatagramSocketAdaptor.java | 69 private void connectInternal(SocketAddress remote) argument 72 InetSocketAddress isa = Net.asInetSocketAddress(remote); 76 if (remote == null) 81 dc.connect(remote); 105 public void connect(SocketAddress remote) throws SocketException { argument 106 if (remote == null) 108 connectInternal(remote);
|
H A D | SocketAdaptor.java | 78 public void connect(SocketAddress remote) throws IOException { argument 79 connect(remote, 0); 82 public void connect(SocketAddress remote, int timeout) throws IOException { argument 83 if (remote == null) 97 sc.connect(remote); 107 if (sc.connect(remote)) 152 SocketAddress remote = sc.remoteAddress(); 153 if (remote == null) { 156 return ((InetSocketAddress)remote).getAddress(); 176 SocketAddress remote [all...] |
H A D | AsynchronousSocketChannelImpl.java | 97 InetSocketAddress remote) 104 this.remoteAddress = remote; 193 abstract <A> Future<Void> implConnect(SocketAddress remote, argument 198 public final Future<Void> connect(SocketAddress remote) { argument 199 return implConnect(remote, null, null); 203 public final <A> void connect(SocketAddress remote, argument 209 implConnect(remote, attachment, handler); 597 sb.append(" remote="); 95 AsynchronousSocketChannelImpl(AsynchronousChannelGroupImpl group, FileDescriptor fd, InetSocketAddress remote) argument
|
H A D | SocketChannelImpl.java | 163 FileDescriptor fd, InetSocketAddress remote) 171 this.remoteAddress = remote; 1070 sb.append(" remote="); 162 SocketChannelImpl(SelectorProvider sp, FileDescriptor fd, InetSocketAddress remote) argument
|
H A D | UnixAsynchronousSocketChannelImpl.java | 72 // pending remote address (stateLock) 124 InetSocketAddress remote) 127 super(port, fd, remote); 311 <A> Future<Void> implConnect(SocketAddress remote, argument 325 InetSocketAddress isa = Net.checkAddress(remote); 340 pendingRemote = remote; 122 UnixAsynchronousSocketChannelImpl(Port port, FileDescriptor fd, InetSocketAddress remote) argument
|
H A D | Net.java | 452 static int connect(FileDescriptor fd, InetAddress remote, int remotePort) argument 455 return connect(UNSPEC, fd, remote, remotePort); 458 static int connect(ProtocolFamily family, FileDescriptor fd, InetAddress remote, int remotePort) argument 466 return connect0(preferIPv6, fd, remote, remotePort); 471 InetAddress remote, 469 connect0(boolean preferIPv6, FileDescriptor fd, InetAddress remote, int remotePort) argument
|