public class NativeServerSocketChannel extends java.nio.channels.spi.AbstractSelectableChannel implements NativeSelectableChannel
Constructor and Description |
---|
NativeServerSocketChannel(int fd) |
NativeServerSocketChannel(java.nio.channels.spi.SelectorProvider provider,
int fd,
int ops) |
Modifier and Type | Method and Description |
---|---|
int |
getFD() |
protected void |
implCloseSelectableChannel() |
protected void |
implConfigureBlocking(boolean block) |
int |
validOps() |
blockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, register
begin, close, end, isOpen
public NativeServerSocketChannel(int fd)
public NativeServerSocketChannel(java.nio.channels.spi.SelectorProvider provider, int fd, int ops)
protected void implCloseSelectableChannel() throws java.io.IOException
implCloseSelectableChannel
in class java.nio.channels.spi.AbstractSelectableChannel
java.io.IOException
protected void implConfigureBlocking(boolean block) throws java.io.IOException
implConfigureBlocking
in class java.nio.channels.spi.AbstractSelectableChannel
java.io.IOException
public final int validOps()
validOps
in class java.nio.channels.SelectableChannel
public final int getFD()
getFD
in interface NativeSelectableChannel