Class AFSYSTEMServerSocketChannel
java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.SelectableChannel
java.nio.channels.spi.AbstractSelectableChannel
java.nio.channels.ServerSocketChannel
org.newsclub.net.unix.AFServerSocketChannel<org.newsclub.net.unix.AFSYSTEMSocketAddress>
org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocketChannel
- All Implemented Interfaces:
Closeable, AutoCloseable, Channel, InterruptibleChannel, NetworkChannel, org.newsclub.net.unix.AFSomeSocketChannel, org.newsclub.net.unix.AFSomeSocketThing, org.newsclub.net.unix.FileDescriptorAccess
public final class AFSYSTEMServerSocketChannel
extends org.newsclub.net.unix.AFServerSocketChannel<org.newsclub.net.unix.AFSYSTEMSocketAddress>
A selectable channel for stream-oriented listening sockets.
- Author:
- Christian Kohlschütter
-
Method Summary
Modifier and TypeMethodDescriptionstatic AFSYSTEMServerSocketChannelopen()Opens a server-socket channel.Methods inherited from class org.newsclub.net.unix.AFServerSocketChannel
accept, bind, getFileDescriptor, getLocalAddress, getLocalSocketAddress, getOption, implCloseSelectableChannel, implConfigureBlocking, isDeleteOnClose, isLocalSocketAddressValid, open, setDeleteOnClose, setOption, setShutdownOnClose, socket, supportedOptionsMethods inherited from class ServerSocketChannel
bind, validOpsMethods inherited from class AbstractSelectableChannel
blockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, registerMethods inherited from class SelectableChannel
registerMethods inherited from class AbstractInterruptibleChannel
begin, close, end, isOpenMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.newsclub.net.unix.AFSomeSocketChannel
configureBlocking, isBlocking
-
Method Details
-
open
Opens a server-socket channel.- Returns:
- The new channel
- Throws:
IOException- on error.
-