public class NativeServerSocketChannel extends AbstractSelectableChannel implements NativeSelectableChannel
Constructor and Description |
---|
NativeServerSocketChannel(int fd) |
NativeServerSocketChannel(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
register
begin, close, end, isOpen
public NativeServerSocketChannel(int fd)
public NativeServerSocketChannel(SelectorProvider provider, int fd, int ops)
protected void implCloseSelectableChannel() throws IOException
implCloseSelectableChannel
in class AbstractSelectableChannel
IOException
protected void implConfigureBlocking(boolean block) throws IOException
implConfigureBlocking
in class AbstractSelectableChannel
IOException
public final int validOps()
validOps
in class SelectableChannel
public final int getFD()
getFD
in interface NativeSelectableChannel
Copyright © 2017. All rights reserved.