-
- Type Parameters:
T- The type of the socket option value.
- All Known Subinterfaces:
SctpSocketOption<T>
public interface SocketOption<T>A socket option associated with a socket.In the
channelspackage, theNetworkChannelinterface defines thesetOptionandgetOptionmethods 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 Stringname()Returns the name of the socket option.Class<T>type()Returns the type of the socket option value.
-