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) UnixServerSocketChannelchannel(package private) intfd(package private) UnixSocketAddresslocalAddress
-
Constructor Summary
Constructors Constructor Description UnixServerSocket()UnixServerSocket(UnixServerSocketChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnixSocketaccept()voidbind(java.net.SocketAddress endpoint)voidbind(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
-
-