Package jnr.unixsocket
Class UnixServerSocketChannel
java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.SelectableChannel
java.nio.channels.spi.AbstractSelectableChannel
jnr.enxio.channels.NativeServerSocketChannel
jnr.unixsocket.impl.AbstractNativeServerSocketChannel
jnr.unixsocket.UnixServerSocketChannel
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Channel
,InterruptibleChannel
,jnr.enxio.channels.NativeSelectableChannel
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept()
final UnixSocketAddress
final UnixSocketAddress
static UnixServerSocketChannel
open()
final UnixServerSocket
socket()
Methods inherited from class jnr.unixsocket.impl.AbstractNativeServerSocketChannel
implCloseSelectableChannel
Methods inherited from class jnr.enxio.channels.NativeServerSocketChannel
getFD, implConfigureBlocking, 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
-
Field Details
-
socket
-
-
Constructor Details
-
UnixServerSocketChannel
UnixServerSocketChannel(UnixServerSocket socket) throws IOException - Throws:
IOException
-
UnixServerSocketChannel
UnixServerSocketChannel(SelectorProvider provider, int fd)
-
-
Method Details
-
open
- Throws:
IOException
-
accept
- Throws:
IOException
-
socket
-
getRemoteSocketAddress
-
getLocalSocketAddress
-