-
- Type Parameters:
T
- The type of the socket option value.
public interface SocketOption<T>
A socket option associated with a socket.In the
channels
package, theNetworkChannel
interface defines thesetOption
andgetOption
methods to set and query the channel's socket options.- Since:
- 1.7
- See Also:
StandardSocketOptions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
name()
Returns the name of the socket option.Class<T>
type()
Returns the type of the socket option value.
-