public class UnixServerSocket
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) UnixServerSocketChannel |
channel |
(package private) int |
fd |
(package private) UnixSocketAddress |
localAddress |
| Constructor and Description |
|---|
UnixServerSocket() |
UnixServerSocket(UnixServerSocketChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
UnixSocket |
accept() |
void |
bind(java.net.SocketAddress endpoint) |
void |
bind(java.net.SocketAddress endpoint,
int backlog) |
final UnixServerSocketChannel channel
final int fd
volatile UnixSocketAddress localAddress
public UnixServerSocket()
throws java.io.IOException
java.io.IOExceptionUnixServerSocket(UnixServerSocketChannel channel)
public UnixSocket accept() throws java.io.IOException
java.io.IOExceptionpublic void bind(java.net.SocketAddress endpoint)
throws java.io.IOException
java.io.IOExceptionpublic void bind(java.net.SocketAddress endpoint,
int backlog)
throws java.io.IOException
java.io.IOException