public class FtpInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
Modifier and Type | Field and Description |
---|---|
protected Class<? extends BusinessHandler> |
businessHandler
Business Handler Class if any (Target Mode only)
|
protected FtpConfiguration |
configuration
Configuration
|
protected static io.netty.buffer.ByteBuf[] |
delimiter
CRLF, CRNUL, LF delimiters
|
protected static org.waarp.ftp.core.control.FtpControlStringDecoder |
ftpControlStringDecoder |
protected static org.waarp.ftp.core.control.FtpControlStringEncoder |
ftpControlStringEncoder |
Constructor and Description |
---|
FtpInitializer(Class<? extends BusinessHandler> businessHandler,
FtpConfiguration configuration)
Constructor which Initializes some data for Server only
|
Modifier and Type | Method and Description |
---|---|
void |
initChannel(io.netty.channel.socket.SocketChannel ch)
Create the pipeline with Handler, ObjectDecoder, ObjectEncoder.
|
channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
protected static final io.netty.buffer.ByteBuf[] delimiter
protected static final org.waarp.ftp.core.control.FtpControlStringDecoder ftpControlStringDecoder
protected static final org.waarp.ftp.core.control.FtpControlStringEncoder ftpControlStringEncoder
protected final Class<? extends BusinessHandler> businessHandler
protected final FtpConfiguration configuration
public FtpInitializer(Class<? extends BusinessHandler> businessHandler, FtpConfiguration configuration)
businessHandler
- configuration
- Copyright © 2009–2019 Waarp. All rights reserved.