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.IOException
public static AFUNIXServerSocket newInstance() throws java.io.IOException
ServerSocket
.AFUNIXServerSocket
.java.io.IOException
public static AFUNIXServerSocket bindOn(AFUNIXSocketAddress addr) throws java.io.IOException
ServerSocket
that is bound to the given
AFUNIXSocketAddress
.AFUNIXServerSocket
.java.io.IOException
public void bind(java.net.SocketAddress endpoint, int backlog) throws java.io.IOException
bind
in class java.net.ServerSocket
java.io.IOException
public boolean isBound()
isBound
in class java.net.ServerSocket
public java.net.Socket accept() throws java.io.IOException
accept
in class java.net.ServerSocket
java.io.IOException
public java.lang.String toString()
toString
in class java.net.ServerSocket
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.net.ServerSocket
java.io.IOException
public static boolean isSupported()