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 UnixSocketAddressfinal UnixSocketAddressstatic UnixServerSocketChannelopen()final UnixServerSocketsocket()Methods inherited from class AbstractNativeServerSocketChannel
implCloseSelectableChannelMethods inherited from class jnr.enxio.channels.NativeServerSocketChannel
getFD, implConfigureBlocking, 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, 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
-