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, useBarrier
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
public 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 © 2020 OpenDaylight. All rights reserved.