Interface ChannelOptionFactory
- All Known Implementing Classes:
DefaultChannelOptionFactory
,EpollChannelOptionFactory
,KQueueChannelOptionFactory
Creates channel options.
- Author:
- croudet
-
Method Summary
Modifier and TypeMethodDescriptiondefault io.netty.channel.ChannelOption<?>
channelOption
(String name) Creates a channel options.default Object
convertValue
(io.netty.channel.ChannelOption<?> option, Object value, Environment env) Converts the specified value given the channel option type.
-
Method Details
-
channelOption
Creates a channel options.- Parameters:
name
- The name of the option.- Returns:
- A channel option.
-
convertValue
default Object convertValue(io.netty.channel.ChannelOption<?> option, Object value, Environment env) Converts the specified value given the channel option type.- Parameters:
option
- The channel option.value
- The value to convert.env
- The environment use for the conversion.- Returns:
- The converted value.
-