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, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS, SO_BINDADDR, SO_BROADCAST, SO_KEEPALIVE, SO_LINGER, SO_OOBINLINE, 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(SocketAddress 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() |
protected abstract OutputStream |
getOutputStream() |
protected int |
getPort() |
protected abstract void |
listen(int var0) |
protected abstract void |
sendUrgentData(int var0) |
protected void |
shutdownInput() |
protected void |
shutdownOutput() |
protected boolean |
supportsUrgentData() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOption, setOption
protected InetAddress address
protected FileDescriptor fd
protected int localport
protected int port
protected abstract void accept(SocketImpl var0) throws IOException
IOException
protected abstract int available() throws IOException
IOException
protected abstract void bind(InetAddress var0, int var1) throws IOException
IOException
protected abstract void close() throws IOException
IOException
protected abstract void connect(String var0, int var1) throws IOException
IOException
protected abstract void connect(InetAddress var0, int var1) throws IOException
IOException
protected abstract void connect(SocketAddress var0, int var1) throws IOException
IOException
protected abstract void create(boolean var0) throws IOException
IOException
protected FileDescriptor getFileDescriptor()
protected InetAddress getInetAddress()
protected abstract InputStream getInputStream() throws IOException
IOException
protected int getLocalPort()
protected abstract OutputStream getOutputStream() throws IOException
IOException
protected int getPort()
protected abstract void listen(int var0) throws IOException
IOException
protected abstract void sendUrgentData(int var0) throws IOException
IOException
protected void shutdownInput() throws IOException
IOException
protected void shutdownOutput() throws IOException
IOException
protected boolean supportsUrgentData()