public class AFUNIXServerSocket
extends java.net.ServerSocket
| Modifier | Constructor and Description |
|---|---|
protected |
AFUNIXServerSocket() |
| Modifier and Type | Method and Description |
|---|---|
java.net.Socket |
accept() |
void |
bind(java.net.SocketAddress endpoint,
int backlog) |
static AFUNIXServerSocket |
bindOn(AFUNIXSocketAddress addr)
Returns a new AF_UNIX
ServerSocket that is bound to the given
AFUNIXSocketAddress. |
void |
close() |
boolean |
isBound() |
static boolean |
isSupported() |
static AFUNIXServerSocket |
newInstance()
Returns a new, unbound AF_UNIX
ServerSocket. |
java.lang.String |
toString() |
protected AFUNIXServerSocket()
throws java.io.IOException
java.io.IOExceptionpublic static AFUNIXServerSocket newInstance() throws java.io.IOException
ServerSocket.AFUNIXServerSocket.java.io.IOExceptionpublic static AFUNIXServerSocket bindOn(AFUNIXSocketAddress addr) throws java.io.IOException
ServerSocket that is bound to the given
AFUNIXSocketAddress.AFUNIXServerSocket.java.io.IOExceptionpublic void bind(java.net.SocketAddress endpoint,
int backlog)
throws java.io.IOException
bind in class java.net.ServerSocketjava.io.IOExceptionpublic boolean isBound()
isBound in class java.net.ServerSocketpublic java.net.Socket accept()
throws java.io.IOException
accept in class java.net.ServerSocketjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.net.ServerSocketpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.net.ServerSocketjava.io.IOExceptionpublic static boolean isSupported()