Package jnr.unixsocket
Class UnixServerSocket
- java.lang.Object
-
- jnr.unixsocket.UnixServerSocket
-
public class UnixServerSocket extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) UnixServerSocketChannel
channel
(package private) int
fd
(package private) UnixSocketAddress
localAddress
-
Constructor Summary
Constructors Constructor Description UnixServerSocket()
UnixServerSocket(UnixServerSocketChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnixSocket
accept()
void
bind(java.net.SocketAddress endpoint)
void
bind(java.net.SocketAddress endpoint, int backlog)
-
-
-
Field Detail
-
channel
final UnixServerSocketChannel channel
-
fd
final int fd
-
localAddress
volatile UnixSocketAddress localAddress
-
-
Constructor Detail
-
UnixServerSocket
public UnixServerSocket() throws java.io.IOException
- Throws:
java.io.IOException
-
UnixServerSocket
UnixServerSocket(UnixServerSocketChannel channel)
-
-
Method Detail
-
accept
public UnixSocket accept() throws java.io.IOException
- Throws:
java.io.IOException
-
bind
public void bind(java.net.SocketAddress endpoint) throws java.io.IOException
- Throws:
java.io.IOException
-
bind
public void bind(java.net.SocketAddress endpoint, int backlog) throws java.io.IOException
- Throws:
java.io.IOException
-
-