public class UnixServerSocketChannel
extends jnr.enxio.channels.NativeServerSocketChannel
| Modifier and Type | Field and Description |
|---|---|
private UnixServerSocket |
socket |
| Constructor and Description |
|---|
UnixServerSocketChannel(java.nio.channels.spi.SelectorProvider provider,
int fd) |
UnixServerSocketChannel(UnixServerSocket socket) |
| Modifier and Type | Method and Description |
|---|---|
UnixSocketChannel |
accept() |
UnixSocketAddress |
getLocalSocketAddress() |
UnixSocketAddress |
getRemoteSocketAddress() |
static UnixServerSocketChannel |
open() |
UnixServerSocket |
socket() |
getFD, implCloseSelectableChannel, implConfigureBlocking, validOpsblockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, registerbegin, close, end, isOpenprivate final UnixServerSocket socket
UnixServerSocketChannel(UnixServerSocket socket) throws java.io.IOException
java.io.IOExceptionUnixServerSocketChannel(java.nio.channels.spi.SelectorProvider provider,
int fd)
public static UnixServerSocketChannel open() throws java.io.IOException
java.io.IOExceptionpublic UnixSocketChannel accept() throws java.io.IOException
java.io.IOExceptionpublic final UnixServerSocket socket()
public final UnixSocketAddress getRemoteSocketAddress()
public final UnixSocketAddress getLocalSocketAddress()