Module org.newsclub.net.unix.vsock
Package org.newsclub.net.unix.vsock
Class AFVSOCKServerSocketChannel
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.AFVSOCKSocketAddress>
org.newsclub.net.unix.vsock.AFVSOCKServerSocketChannel
- 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 AFVSOCKServerSocketChannel
extends org.newsclub.net.unix.AFServerSocketChannel<org.newsclub.net.unix.AFVSOCKSocketAddress>
A selectable channel for stream-oriented listening sockets.
- Author:
- Christian Kohlschütter
-
Method Summary
Modifier and TypeMethodDescriptionstatic AFVSOCKServerSocketChannel
open()
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, supportedOptions
Methods inherited from class java.nio.channels.ServerSocketChannel
bind, 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 org.newsclub.net.unix.AFSomeSocketChannel
configureBlocking, isBlocking
Methods inherited from interface java.nio.channels.InterruptibleChannel
close
-
Method Details
-
open
Opens a server-socket channel.- Returns:
- The new channel
- Throws:
IOException
- on error.
-