Interface SocketOptions

All Known Implementing Classes:
DatagramSocketImpl,SocketImpl

public interfaceSocketOptions
Interface of methods to get/set socket options. This interface is implemented bySocketImpl andDatagramSocketImpl. Subclasses of these two classes should override thegetOption(int) andsetOption(int, Object) methods of this interface in order to support their own options.

The methods and constants defined in this interface are for implementation only. If you're not subclassingSocketImpl orDatagramSocketImpl, then you won't use these directly. There are type-safe methods to get/set each of these options inSocket,ServerSocket,DatagramSocket andMulticastSocket.

Since:
1.1