jnr.enxio.channels
Class NativeServerSocketChannel

java.lang.Object
  extended by java.nio.channels.spi.AbstractInterruptibleChannel
      extended by java.nio.channels.SelectableChannel
          extended by java.nio.channels.spi.AbstractSelectableChannel
              extended by jnr.enxio.channels.NativeServerSocketChannel
All Implemented Interfaces:
Closeable, Channel, InterruptibleChannel, NativeSelectableChannel

public class NativeServerSocketChannel
extends AbstractSelectableChannel
implements NativeSelectableChannel


Constructor Summary
NativeServerSocketChannel(int fd)
           
NativeServerSocketChannel(SelectorProvider provider, int fd, int ops)
           
 
Method Summary
 int getFD()
           
protected  void implCloseSelectableChannel()
           
protected  void implConfigureBlocking(boolean block)
           
 int validOps()
           
 
Methods inherited from class java.nio.channels.spi.AbstractSelectableChannel
blockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, register
 
Methods inherited from class java.nio.channels.SelectableChannel
register
 
Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
begin, close, end, isOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.nio.channels.Channel
close, isOpen
 

Constructor Detail

NativeServerSocketChannel

public NativeServerSocketChannel(int fd)

NativeServerSocketChannel

public NativeServerSocketChannel(SelectorProvider provider,
                                 int fd,
                                 int ops)
Method Detail

implCloseSelectableChannel

protected void implCloseSelectableChannel()
                                   throws IOException
Specified by:
implCloseSelectableChannel in class AbstractSelectableChannel
Throws:
IOException

implConfigureBlocking

protected void implConfigureBlocking(boolean block)
                              throws IOException
Specified by:
implConfigureBlocking in class AbstractSelectableChannel
Throws:
IOException

validOps

public final int validOps()
Specified by:
validOps in class SelectableChannel

getFD

public final int getFD()
Specified by:
getFD in interface NativeSelectableChannel


Copyright © 2013. All Rights Reserved.