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:
java.io.Closeable
,java.lang.AutoCloseable
,java.nio.channels.Channel
,java.nio.channels.InterruptibleChannel
,jnr.enxio.channels.NativeSelectableChannel
public class UnixServerSocketChannel extends AbstractNativeServerSocketChannel
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UnixSocketChannel
accept()
UnixSocketAddress
getLocalSocketAddress()
UnixSocketAddress
getRemoteSocketAddress()
static UnixServerSocketChannel
open()
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.spi.AbstractInterruptibleChannel
begin, close, end, isOpen
-
-
-
-
Method Detail
-
open
public static UnixServerSocketChannel open() throws java.io.IOException
- Throws:
java.io.IOException
-
accept
public UnixSocketChannel accept() throws java.io.IOException
- Throws:
java.io.IOException
-
socket
public final UnixServerSocket socket()
-
getRemoteSocketAddress
public final UnixSocketAddress getRemoteSocketAddress()
-
getLocalSocketAddress
public final UnixSocketAddress getLocalSocketAddress()
-
-