public class UnixSocketImpl
extends java.net.SocketImpl
| Constructor and Description |
|---|
UnixSocketImpl() |
| Modifier and Type | Method and Description |
|---|---|
UnixSocketImpl |
accept() |
protected void |
accept(java.net.SocketImpl arg0) |
protected int |
available() |
protected void |
bind(java.net.InetAddress arg0,
int arg1) |
void |
bindAndListen(UnixSocketAddress address,
int backlog) |
protected void |
close() |
protected void |
connect(java.net.InetAddress host,
int port) |
protected void |
connect(java.net.SocketAddress address,
int timeout) |
protected void |
connect(java.lang.String host,
int port) |
protected void |
create(boolean stream) |
protected java.io.InputStream |
getInputStream() |
java.lang.Object |
getOption(int arg0) |
protected java.io.OutputStream |
getOutputStream() |
protected void |
listen(int arg0) |
int |
read() |
int |
read(byte[] data,
int offset,
int length) |
protected void |
sendUrgentData(int arg0) |
void |
setOption(int arg0,
java.lang.Object arg1) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int data) |
protected void accept(java.net.SocketImpl arg0)
throws java.io.IOException
accept in class java.net.SocketImpljava.io.IOExceptionpublic UnixSocketImpl accept()
protected int available()
throws java.io.IOException
available in class java.net.SocketImpljava.io.IOExceptionprotected void bind(java.net.InetAddress arg0,
int arg1)
throws java.io.IOException
bind in class java.net.SocketImpljava.io.IOExceptionpublic void bindAndListen(UnixSocketAddress address, int backlog) throws java.io.IOException
java.io.IOExceptionprotected void close()
throws java.io.IOException
close in class java.net.SocketImpljava.io.IOExceptionprotected void connect(java.lang.String host,
int port)
throws java.io.IOException
connect in class java.net.SocketImpljava.io.IOExceptionprotected void connect(java.net.InetAddress host,
int port)
throws java.io.IOException
connect in class java.net.SocketImpljava.io.IOExceptionprotected void connect(java.net.SocketAddress address,
int timeout)
throws java.io.IOException
connect in class java.net.SocketImpljava.io.IOExceptionprotected void create(boolean stream)
throws java.io.IOException
create in class java.net.SocketImpljava.io.IOExceptionprotected java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class java.net.SocketImpljava.io.IOExceptionprotected java.io.OutputStream getOutputStream()
throws java.io.IOException
getOutputStream in class java.net.SocketImpljava.io.IOExceptionprotected void listen(int arg0)
throws java.io.IOException
listen in class java.net.SocketImpljava.io.IOExceptionprotected void sendUrgentData(int arg0)
throws java.io.IOException
sendUrgentData in class java.net.SocketImpljava.io.IOExceptionpublic java.lang.Object getOption(int arg0)
throws java.net.SocketException
java.net.SocketExceptionpublic void setOption(int arg0,
java.lang.Object arg1)
throws java.net.SocketException
java.net.SocketExceptionpublic void write(int data)
throws java.io.IOException
java.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
java.io.IOExceptionpublic int read(byte[] data,
int offset,
int length)
throws java.io.IOException
java.io.IOExceptionpublic int read()
throws java.io.IOException
java.io.IOException