Top Fields Constructors Methods
jnr.unixsocket.impl

public abstract Class AbstractNativeServerSocketChannel

extends NativeServerSocketChannel
Class Inheritance
Known Direct Subclasses
jnr.unixsocket.UnixServerSocketChannel
Imports
jnr.constants.platform.Shutdown, jnr.enxio.channels.Native, .NativeServerSocketChannel, java.io.IOException, java.nio.channels.spi.SelectorProvider

Field Summary

Modifier and TypeField and Description
private static final int

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
protected void
Inherited from jnr.enxio.channels.NativeServerSocketChannel:
getFDimplConfigureBlockingvalidOps

Field Detail

SHUT_RDback to summary
private static final int SHUT_RD

Constructor Detail

AbstractNativeServerSocketChannelback to summary
public AbstractNativeServerSocketChannel(int fd)
AbstractNativeServerSocketChannelback to summary
public AbstractNativeServerSocketChannel(SelectorProvider provider, int fd, int ops)

Method Detail

implCloseSelectableChannelback to summary
protected void implCloseSelectableChannel() throws IOException

Overrides jnr.enxio.channels.NativeServerSocketChannel.implCloseSelectableChannel.

Doc from java.nio.channels.spi.AbstractSelectableChannel.implCloseSelectableChannel.

Closes this selectable channel.

This method is invoked by the close method in order to perform the actual work of closing the channel. This method is only invoked if the channel has not yet been closed, and it is never invoked more than once.

An implementation of this method must arrange for any other thread that is blocked in an I/O operation upon this channel to return immediately, either by throwing an exception or by returning normally.

Annotations
@Override
Exceptions
IOException:
If an I/O error occurs