SocketImpl

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## java.net
Class SocketImpl

    java.lang.Object
      java.net.SocketImpl

All Implemented Interfaces:
  SocketOptions

    public abstract class SocketImpl

extends Object
implements SocketOptions

The abstract class `SocketImpl` is a common superclass of all classes that actually implement sockets. It is used to create both client and server sockets.

A "plain" socket implements these methods exactly as described, without attempting to go through a firewall or proxy.

Since:
  JDK1.0
Version:
  1.31 10/17/00
Author:
  unascribed

Field Summary

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
`String` | `toString()` Returns the address and port of this socket as a `String`.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Methods inherited from interface java.net.SocketOptions
`getOption, setOption`

Constructor Detail

### SocketImpl

    public SocketImpl()

Method Detail

### toString

    public String toString()

  Returns the address and port of this socket as a `String`.

  Overrides:
    `toString` in class `Object`
  Returns:
    a string representation of this socket.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD