java.net
Class SocketImpl

java.lang.Object
  |
  +--java.net.SocketImpl
All Implemented Interfaces:
SocketOptions

public abstract synchronized class SocketImpl
extends Object
implements SocketOptions


Field Summary
protected  InetAddress address
           
protected  FileDescriptor fd
           
protected  int localport
           
protected  int port
           
 
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
 
Constructor Summary
SocketImpl()
           
 
Method Summary
protected abstract  void accept(SocketImpl)
           
protected abstract  int available()
           
protected abstract  void bind(InetAddress, int)
           
protected abstract  void close()
           
protected abstract  void connect(InetAddress, int)
           
protected abstract  void connect(SocketAddress, int)
           
protected abstract  void connect(String, int)
           
protected abstract  void create(boolean)
           
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)
           
protected abstract  void sendUrgentData(int)
           
protected  void shutdownInput()
           
protected  void shutdownOutput()
           
protected  boolean supportsUrgentData()
           
 String toString()
          Returns the empty string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait
 
Methods inherited from interface java.net.SocketOptions
getOption, setOption
 

Field Detail

fd

protected FileDescriptor fd

address

protected InetAddress address

port

protected int port

localport

protected int localport
Constructor Detail

SocketImpl

public SocketImpl()
Method Detail

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