public final class PrivilegedSocketAccess extends Object
| Modifier and Type | Method and Description |
|---|---|
static SocketChannel |
accept(ServerSocketChannel serverSocketChannel) |
static boolean |
connect(SocketChannel socketChannel,
InetSocketAddress remoteAddress) |
public static SocketChannel accept(ServerSocketChannel serverSocketChannel) throws IOException
IOExceptionpublic static boolean connect(SocketChannel socketChannel, InetSocketAddress remoteAddress) throws IOException
IOExceptionCopyright © 2016–2017. All rights reserved.