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, validOps
blockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, register
begin, close, end, isOpen
private final UnixServerSocket socket
UnixServerSocketChannel(UnixServerSocket socket) throws java.io.IOException
java.io.IOException
UnixServerSocketChannel(java.nio.channels.spi.SelectorProvider provider, int fd)
public static UnixServerSocketChannel open() throws java.io.IOException
java.io.IOException
public UnixSocketChannel accept() throws java.io.IOException
java.io.IOException
public final UnixServerSocket socket()
public final UnixSocketAddress getRemoteSocketAddress()
public final UnixSocketAddress getLocalSocketAddress()