public class LocalExecServerInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
ChannelPipeline
for a new channel for
LocalExecServer.Modifier and Type | Field and Description |
---|---|
protected io.netty.util.concurrent.EventExecutorGroup |
eventExecutorGroup |
Constructor and Description |
---|
LocalExecServerInitializer(io.netty.util.concurrent.EventExecutorGroup eventExecutorGroup)
Constructor with default delay
|
LocalExecServerInitializer(long newdelay,
io.netty.util.concurrent.EventExecutorGroup eventExecutorGroup)
Constructor with a specific default delay
|
Modifier and Type | Method and Description |
---|---|
void |
addChannel(io.netty.channel.Channel channel)
Add a channel to the ExecClient Group
|
void |
initChannel(io.netty.channel.socket.SocketChannel ch) |
void |
releaseResources()
Release internal resources
|
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
protected final io.netty.util.concurrent.EventExecutorGroup eventExecutorGroup
public LocalExecServerInitializer(io.netty.util.concurrent.EventExecutorGroup eventExecutorGroup)
eventExecutorGroup
- public LocalExecServerInitializer(long newdelay, io.netty.util.concurrent.EventExecutorGroup eventExecutorGroup)
newdelay
- eventExecutorGroup
- public void initChannel(io.netty.channel.socket.SocketChannel ch) throws Exception
initChannel
in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
Exception
public void addChannel(io.netty.channel.Channel channel)
channel
- public void releaseResources()
Copyright © 2009–2020 Waarp. All rights reserved.