ChannelType - Handled channel type.public class StringChannelInitializer<ChannelType extends io.netty.channel.Channel>
extends io.netty.channel.ChannelInitializer<ChannelType>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StringChannelInitializer.Configuration
Interface for I/O channel configuration.
|
| Constructor and Description |
|---|
StringChannelInitializer(io.netty.channel.ChannelHandler handler,
StringChannelInitializer.Configuration config)
Saves the initialization parameter for further channels.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initChannel(ChannelType channel)
Initializes I/O channel for text protocols.
|
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic StringChannelInitializer(io.netty.channel.ChannelHandler handler,
StringChannelInitializer.Configuration config)
handler - Protocol handler.config - Configuration.public void initChannel(ChannelType channel)
initChannel in class io.netty.channel.ChannelInitializer<ChannelType extends io.netty.channel.Channel>channel - I/O connection channel.Copyright © 2015–2016 RafaĆ Wrzeszcz - Wrzasq.pl. All rights reserved.