Package jnr.enxio.channels
Class NativeServerSocketChannel
- java.lang.Object
-
- java.nio.channels.spi.AbstractInterruptibleChannel
-
- java.nio.channels.SelectableChannel
-
- java.nio.channels.spi.AbstractSelectableChannel
-
- jnr.enxio.channels.NativeServerSocketChannel
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.nio.channels.Channel,java.nio.channels.InterruptibleChannel,NativeSelectableChannel
public class NativeServerSocketChannel extends java.nio.channels.spi.AbstractSelectableChannel implements NativeSelectableChannel
-
-
Constructor Summary
Constructors Constructor Description NativeServerSocketChannel(int fd)NativeServerSocketChannel(java.nio.channels.spi.SelectorProvider provider, int fd, int ops)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFD()protected voidimplCloseSelectableChannel()protected voidimplConfigureBlocking(boolean block)intvalidOps()-
Methods inherited from class java.nio.channels.spi.AbstractSelectableChannel
blockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, register
-
Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
begin, close, end, isOpen
-
-
-
-
Method Detail
-
implCloseSelectableChannel
protected void implCloseSelectableChannel() throws java.io.IOException- Specified by:
implCloseSelectableChannelin classjava.nio.channels.spi.AbstractSelectableChannel- Throws:
java.io.IOException
-
implConfigureBlocking
protected void implConfigureBlocking(boolean block) throws java.io.IOException- Specified by:
implConfigureBlockingin classjava.nio.channels.spi.AbstractSelectableChannel- Throws:
java.io.IOException
-
validOps
public final int validOps()
- Specified by:
validOpsin classjava.nio.channels.SelectableChannel
-
getFD
public final int getFD()
- Specified by:
getFDin interfaceNativeSelectableChannel
-
-