public class TcpChannelInitializer extends ProtocolChannelInitializer<io.netty.channel.socket.SocketChannel>
| Modifier | Constructor and Description |
|---|---|
|
TcpChannelInitializer()
Default constructor.
|
protected |
TcpChannelInitializer(io.netty.channel.group.DefaultChannelGroup channelGroup,
ConnectionAdapterFactory connAdaptorFactory)
Testing constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<io.netty.channel.Channel> |
getConnectionIterator()
Returns the connection iterator.
|
protected void |
initChannel(io.netty.channel.socket.SocketChannel ch) |
int |
size()
Returns the number of active channels.
|
getChannelOutboundQueueSize, getDeserializationFactory, getSerializationFactory, getSwitchConnectionHandler, getSwitchIdleTimeout, getTlsConfiguration, setChannelOutboundQueueSize, setDeserializationFactory, setSerializationFactory, setSwitchConnectionHandler, setSwitchIdleTimeout, setTlsConfiguration, setUseBarrier, useBarrierchannelRegistered, exceptionCaught, handlerAddedchannelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerRemoved, isSharablepublic TcpChannelInitializer()
protected TcpChannelInitializer(io.netty.channel.group.DefaultChannelGroup channelGroup,
ConnectionAdapterFactory connAdaptorFactory)
protected void initChannel(io.netty.channel.socket.SocketChannel ch)
initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>public Iterator<io.netty.channel.Channel> getConnectionIterator()
public int size()
Copyright © 2019 OpenDaylight. All rights reserved.