public abstract class SocketImpl extends Object implements SocketOptions
| Modifier and Type | Field and Description |
|---|---|
protected InetAddress |
address |
protected FileDescriptor |
fd |
protected int |
localport |
protected int |
port |
IP_MULTICAST_IF, SO_BINDADDR, SO_KEEPALIVE, SO_LINGER, SO_RCVBUF, SO_REUSEADDR, SO_SNDBUF, SO_TIMEOUT, TCP_NODELAY| Constructor and Description |
|---|
SocketImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
accept(SocketImpl var0) |
protected abstract int |
available() |
protected abstract void |
bind(InetAddress var0,
int var1) |
protected abstract void |
close() |
protected abstract void |
connect(InetAddress var0,
int var1) |
protected abstract void |
connect(String var0,
int var1) |
protected abstract void |
create(boolean var0) |
protected FileDescriptor |
getFileDescriptor() |
protected InetAddress |
getInetAddress() |
protected abstract InputStream |
getInputStream() |
protected int |
getLocalPort() |
abstract Object |
getOption(int var0) |
protected abstract OutputStream |
getOutputStream() |
protected int |
getPort() |
protected abstract void |
listen(int var0) |
abstract void |
setOption(int var0,
Object var1) |
protected void |
shutdownInput() |
protected void |
shutdownOutput() |
String |
toString() |
protected InetAddress address
protected int port
protected FileDescriptor fd
protected int localport
protected abstract void accept(SocketImpl var0) throws IOException
IOExceptionprotected abstract int available()
throws IOException
IOExceptionprotected abstract void bind(InetAddress var0, int var1) throws IOException
IOExceptionprotected abstract void close()
throws IOException
IOExceptionprotected abstract void connect(String var0, int var1) throws IOException
IOExceptionprotected abstract void connect(InetAddress var0, int var1) throws IOException
IOExceptionprotected abstract void create(boolean var0)
throws IOException
IOExceptionprotected FileDescriptor getFileDescriptor()
protected InetAddress getInetAddress()
protected abstract InputStream getInputStream() throws IOException
IOExceptionprotected int getLocalPort()
public abstract Object getOption(int var0) throws SocketException
getOption in interface SocketOptionsSocketExceptionprotected abstract OutputStream getOutputStream() throws IOException
IOExceptionprotected int getPort()
protected abstract void listen(int var0)
throws IOException
IOExceptionpublic abstract void setOption(int var0,
Object var1)
throws SocketException
setOption in interface SocketOptionsSocketExceptionprotected void shutdownInput()
throws IOException
IOExceptionprotected void shutdownOutput()
throws IOException
IOException