public class NGUnixDomainServerSocket extends ServerSocket
ServerSocket which binds to a local Unix domain socket and returns instances
of NGUnixDomainSocket from accept().| Modifier and Type | Class and Description |
|---|---|
static class |
NGUnixDomainServerSocket.NGUnixDomainServerSocketAddress |
| Constructor and Description |
|---|
NGUnixDomainServerSocket()
Constructs an unbound Unix domain server socket.
|
NGUnixDomainServerSocket(int backlog)
Constructs an unbound Unix domain server socket with the specified listen backlog.
|
NGUnixDomainServerSocket(int backlog,
String path)
Constructs and binds a Unix domain server socket to the specified path with the specified
listen backlog.
|
NGUnixDomainServerSocket(String path)
Constructs and binds a Unix domain server socket to the specified path.
|
| Modifier and Type | Method and Description |
|---|---|
Socket |
accept() |
void |
bind(SocketAddress endpoint) |
void |
close() |
bind, getChannel, getInetAddress, getLocalPort, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, implAccept, isBound, isClosed, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSocketFactory, setSoTimeout, toStringpublic NGUnixDomainServerSocket()
throws IOException
IOExceptionpublic NGUnixDomainServerSocket(int backlog)
throws IOException
IOExceptionpublic NGUnixDomainServerSocket(String path) throws IOException
IOExceptionpublic NGUnixDomainServerSocket(int backlog,
String path)
throws IOException
IOExceptionpublic void bind(SocketAddress endpoint) throws IOException
bind in class ServerSocketIOExceptionpublic Socket accept() throws IOException
accept in class ServerSocketIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ServerSocketIOExceptionCopyright © 2025. All rights reserved.