Searched defs:remote (Results 1 - 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/channels/
H A DDatagramChannel.java248 * datagrams from, and sends datagrams to, the given remote <i>peer</i>
260 * remote address.
269 * @param remote
270 * The remote address to which this channel is to be connected
289 * and it does not permit access to the given remote address
294 public abstract DatagramChannel connect(SocketAddress remote) argument
301 * from, and sends datagrams to, any remote address so long as the security
319 * Returns the remote address to which this channel's socket is connected.
321 * @return The remote address; {@code null} if the channel's socket is not
352 * to a specific remote addres
[all...]
H A DSocketChannel.java51 * remote socket may be initiated via the {@link #connect connect} method for
146 * Opens a socket channel and connects it to a remote address.
150 * the resulting socket channel, passing it <tt>remote</tt>, and then
153 * @param remote
154 * The remote address to which the new channel is to be connected
167 * If the given remote address is not fully resolved
170 * If the type of the given remote address is not supported
174 * and it does not permit access to the given remote endpoint
179 public static SocketChannel open(SocketAddress remote) argument
184 sc.connect(remote);
380 connect(SocketAddress remote) argument
[all...]
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DInheritedChannel.java80 InetSocketAddress remote)
83 super(sp, fd, remote);
78 InheritedSocketChannelImpl(SelectorProvider sp, FileDescriptor fd, InetSocketAddress remote) argument
H A DDatagramSocketAdaptor.java69 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 DSocketAdaptor.java82 public void connect(SocketAddress remote) throws IOException { argument
83 connect(remote, 0);
86 public void connect(SocketAddress remote, int timeout) throws IOException { argument
87 if (remote == null)
101 sc.connect(remote);
114 if (sc.connect(remote))
166 SocketAddress remote = sc.remoteAddress();
167 if (remote == null) {
170 return ((InetSocketAddress)remote).getAddress();
189 SocketAddress remote
[all...]
H A DSocketChannelImpl.java128 FileDescriptor fd, InetSocketAddress remote)
136 this.remoteAddress = remote;
1019 sb.append(" remote=");
127 SocketChannelImpl(SelectorProvider sp, FileDescriptor fd, InetSocketAddress remote) argument
H A DNet.java464 static int connect(FileDescriptor fd, InetAddress remote, int remotePort) argument
467 return connect(UNSPEC, fd, remote, remotePort);
470 static int connect(ProtocolFamily family, FileDescriptor fd, InetAddress remote, int remotePort) argument
477 return connect0(preferIPv6, fd, remote, remotePort);
482 InetAddress remote,
480 connect0(boolean preferIPv6, FileDescriptor fd, InetAddress remote, int remotePort) argument

Completed in 1718 milliseconds