java.net
Class SocketImpl
java.lang.Object
|
+--java.net.SocketImpl
- All Implemented Interfaces:
- SocketOptions
- public abstract synchronized class SocketImpl
- extends Object
- implements SocketOptions
Fields inherited from interface java.net.SocketOptions |
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 |
fd
protected FileDescriptor fd
address
protected InetAddress address
port
protected int port
localport
protected int localport
SocketImpl
public SocketImpl()
create
protected abstract void create(boolean)
throws IOException
IOException
connect
protected abstract void connect(String,
int)
throws IOException
IOException
connect
protected abstract void connect(InetAddress,
int)
throws IOException
IOException
connect
protected abstract void connect(SocketAddress,
int)
throws IOException
IOException
bind
protected abstract void bind(InetAddress,
int)
throws IOException
IOException
listen
protected abstract void listen(int)
throws IOException
IOException
accept
protected abstract void accept(SocketImpl)
throws IOException
IOException
getInputStream
protected abstract InputStream getInputStream()
throws IOException
IOException
getOutputStream
protected abstract OutputStream getOutputStream()
throws IOException
IOException
available
protected abstract int available()
throws IOException
IOException
close
protected abstract void close()
throws IOException
IOException
shutdownInput
protected void shutdownInput()
throws IOException
IOException
shutdownOutput
protected void shutdownOutput()
throws IOException
IOException
getFileDescriptor
protected FileDescriptor getFileDescriptor()
getInetAddress
protected InetAddress getInetAddress()
getPort
protected int getPort()
supportsUrgentData
protected boolean supportsUrgentData()
sendUrgentData
protected abstract void sendUrgentData(int)
throws IOException
IOException
getLocalPort
protected int getLocalPort()
toString
public String toString()
- Description copied from class:
Object
- Returns the empty string. It's here to satisfy javac.
- Overrides:
toString
in class Object