@Internal @Singleton @Requires(classes=io.netty.channel.epoll.Epoll.class, condition=EpollAvailabilityCondition.class) public class EpollChannelOptionFactory extends Object implements ChannelOptionFactory
Constructor and Description |
---|
EpollChannelOptionFactory() |
Modifier and Type | Method and Description |
---|---|
io.netty.channel.ChannelOption<?> |
channelOption(String name)
Creates a channel options.
|
Object |
convertValue(io.netty.channel.ChannelOption<?> option,
Object value,
Environment env)
Converts the specified value given the channel option type.
|
public io.netty.channel.ChannelOption<?> channelOption(String name)
ChannelOptionFactory
channelOption
in interface ChannelOptionFactory
name
- The name of the option.public Object convertValue(io.netty.channel.ChannelOption<?> option, Object value, Environment env)
ChannelOptionFactory
convertValue
in interface ChannelOptionFactory
option
- The channel option.value
- The value to convert.env
- The environment use for the conversion.