Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.net.SocketImpl

Availability: JDK 1.0

public abstract class SocketImpl extends Object {
   // Default Constructor: public SocketImpl()
   // Protected Instance Variables
      protected InetAddress address;
      protected FileDescriptor fd;
      protected int localport;
      protected int port;
   // Public Instance Methods
      public String toString();  // Overrides Object.toString()
   // Protected Instance Methods
      protected abstract void accept(SocketImpl s) throws IOException;
      protected abstract int available() throws IOException;
      protected abstract void bind(InetAddress host, int port) throws IOException;
      protected abstract void close() throws IOException;
      protected abstract void connect(String host, int port) throws IOException;
      protected abstract void connect(InetAddress address, int port) throws IOException;
      protected abstract void create(boolean stream) throws IOException;
      protected FileDescriptor getFileDescriptor();
      protected InetAddress getInetAddress();
      protected abstract InputStream getInputStream() throws IOException;
      protected int getLocalPort();
      protected abstract OutputStream getOutputStream() throws IOException;
      protected int getPort();
      protected abstract void listen(int backlog) throws IOException;
}
Passed To:
Socket.Socket(), SocketImpl.accept().
Returned By:
SocketImplFactory.createSocketImpl().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.