public abstract interface SocketOption<T>
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

A socket option associated with a socket.

In the channels package, the java.nio.channels.NetworkChannel interface defines the setOption and getOption methods to set and query the channel's socket options.

<T>    The type of the socket option value.

See also:

Since:  1.7