Save This Page
Home » openjdk-7 » java » net » [javadoc | source]
java.net
class: PlainSocketImpl [javadoc | source]
java.lang.Object
   java.net.SocketImpl
      java.net.AbstractPlainSocketImpl
         java.net.PlainSocketImpl

All Implemented Interfaces:
    SocketOptions

Direct Known Subclasses:
    ZSocketImpl, SocksSocketImpl

Fields inherited from java.net.AbstractPlainSocketImpl:
timeout,  fdUseCount,  fdLock,  closePending,  SHUT_RD,  SHUT_WR
Fields inherited from java.net.SocketImpl:
socket,  serverSocket,  fd,  address,  port,  localport
Constructor:
 PlainSocketImpl() 
 PlainSocketImpl(FileDescriptor fd) 
    Constructs an instance with the given file descriptor.
Method from java.net.PlainSocketImpl Summary:
accept,   acquireFD,   bind,   close,   connect,   connect,   connect,   create,   doConnect,   getFileDescriptor,   getInetAddress,   getInputStream,   getLocalPort,   getOption,   getOutputStream,   getPort,   getServerSocket,   getSocket,   getTimeout,   isClosedOrPending,   isConnectionReset,   isConnectionResetPending,   releaseFD,   reset,   sendUrgentData,   setAddress,   setConnectionReset,   setConnectionResetPending,   setFileDescriptor,   setInputStream,   setLocalPort,   setOption,   setPort,   setServerSocket,   setSocket,   shutdownInput,   shutdownOutput,   socketAccept,   socketAvailable,   socketBind,   socketClose0,   socketConnect,   socketCreate,   socketGetOption,   socketListen,   socketSendUrgentData,   socketSetOption,   socketShutdown,   toString
Methods from java.net.AbstractPlainSocketImpl:
accept,   acquireFD,   available,   bind,   close,   connect,   connect,   connect,   create,   doConnect,   finalize,   getInputStream,   getOption,   getOutputStream,   getTimeout,   isClosedOrPending,   isConnectionReset,   isConnectionResetPending,   listen,   releaseFD,   reset,   sendUrgentData,   setAddress,   setConnectionReset,   setConnectionResetPending,   setFileDescriptor,   setInputStream,   setLocalPort,   setOption,   setPort,   shutdownInput,   shutdownOutput,   socketAccept,   socketAvailable,   socketBind,   socketClose,   socketClose0,   socketConnect,   socketCreate,   socketGetOption,   socketListen,   socketSendUrgentData,   socketSetOption,   socketShutdown,   supportsUrgentData
Methods from java.net.SocketImpl:
accept,   available,   bind,   close,   connect,   connect,   connect,   create,   getFileDescriptor,   getInetAddress,   getInputStream,   getLocalPort,   getOutputStream,   getPort,   getServerSocket,   getSocket,   listen,   reset,   sendUrgentData,   setPerformancePreferences,   setServerSocket,   setSocket,   shutdownInput,   shutdownOutput,   supportsUrgentData,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.net.PlainSocketImpl Detail:
 protected synchronized  void accept(SocketImpl s) throws IOException 
 FileDescriptor acquireFD() 
 protected synchronized  void bind(InetAddress address,
    int lport) throws IOException 
 protected  void close() throws IOException 
 protected  void connect(String host,
    int port) throws UnknownHostException, IOException 
 protected  void connect(InetAddress address,
    int port) throws IOException 
 protected  void connect(SocketAddress address,
    int timeout) throws IOException 
 protected synchronized  void create(boolean stream) throws IOException 
 synchronized  void doConnect(InetAddress address,
    int port,
    int timeout) throws IOException 
 protected FileDescriptor getFileDescriptor() 
 protected InetAddress getInetAddress() 
 protected synchronized InputStream getInputStream() throws IOException 
 protected int getLocalPort() 
 public Object getOption(int opt) throws SocketException 
 protected synchronized OutputStream getOutputStream() throws IOException 
 protected int getPort() 
 ServerSocket getServerSocket() 
 Socket getSocket() 
 public int getTimeout() 
 public boolean isClosedOrPending() 
 public boolean isConnectionReset() 
 public boolean isConnectionResetPending() 
  void releaseFD() 
  void reset() throws IOException 
 protected  void sendUrgentData(int data) throws IOException 
  void setAddress(InetAddress address) 
 public  void setConnectionReset() 
 public  void setConnectionResetPending() 
  void setFileDescriptor(FileDescriptor fd) 
  void setInputStream(SocketInputStream in) 
  void setLocalPort(int localPort) 
 public  void setOption(int opt,
    Object val) throws SocketException 
  void setPort(int port) 
  void setServerSocket(ServerSocket soc) 
  void setSocket(Socket soc) 
 protected  void shutdownInput() throws IOException 
 protected  void shutdownOutput() throws IOException 
  void socketAccept(SocketImpl s) throws IOException 
 int socketAvailable() throws IOException 
  void socketBind(InetAddress address,
    int port) throws IOException 
  void socketClose0(boolean useDeferredClose) throws IOException 
  void socketConnect(InetAddress address,
    int port,
    int timeout) throws IOException 
  void socketCreate(boolean isServer) throws IOException 
 int socketGetOption(int opt,
    Object iaContainerObj) throws SocketException 
  void socketListen(int count) throws IOException 
  void socketSendUrgentData(int data) throws IOException 
  void socketSetOption(int cmd,
    boolean on,
    Object value) throws SocketException 
  void socketShutdown(int howto) throws IOException 
 public String toString()