- Type Parameters:
T
- The type of the socket option value.
public interface SocketOption<T>
- Since:
- 1.7
- See Also:
StandardSocketOptions
-
Method Summary
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.
|
-
Method Details
-
Returns the name of the socket option.
- Returns:
- the name of the socket option
-
Returns the type of the socket option value.
- Returns:
- the type of the socket option value