@Internal @Singleton @Requires(classes=io.netty.channel.kqueue.KQueue.class, condition=KQueueAvailabilityCondition.class) public class KQueueChannelOptionFactory extends Object implements ChannelOptionFactory, TypeConverterRegistrar
| Constructor and Description |
|---|
KQueueChannelOptionFactory() |
| 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.
|
void |
register(ConversionService<?> conversionService)
Interface for registrars of
TypeConverter instances. |
public io.netty.channel.ChannelOption<?> channelOption(String name)
ChannelOptionFactorychannelOption in interface ChannelOptionFactoryname - The name of the option.public Object convertValue(io.netty.channel.ChannelOption<?> option, Object value, Environment env)
ChannelOptionFactoryconvertValue in interface ChannelOptionFactoryoption - The channel option.value - The value to convert.env - The environment use for the conversion.public void register(ConversionService<?> conversionService)
TypeConverterRegistrarTypeConverter instances.register in interface TypeConverterRegistrarconversionService - The ConversionService