|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.ServerSocket
org.newsclub.net.unix.AFUNIXServerSocket
public class AFUNIXServerSocket
The server part of an AF_UNIX domain socket.
| Constructor Summary | |
|---|---|
protected |
AFUNIXServerSocket()
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.net.ServerSocket |
|---|
bind, getChannel, getInetAddress, getLocalPort, getLocalSocketAddress, getReceiveBufferSize, getReuseAddress, getSoTimeout, implAccept, isClosed, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSocketFactory, setSoTimeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AFUNIXServerSocket()
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
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.ServerSocketjava.io.IOExceptionpublic boolean isBound()
isBound in class java.net.ServerSocket
public 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.ServerSocket
public void close()
throws java.io.IOException
close in class java.net.ServerSocketjava.io.IOExceptionpublic static boolean isSupported()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||