public class FtpDataInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
Modifier and Type | Field and Description |
---|---|
static String |
CODEC_LIMIT
Limit Codec
|
static String |
CODEC_MODE
Mode Codec
|
static String |
CODEC_STRUCTURE
Structure Codec
|
static String |
CODEC_TYPE
Type Codec
|
protected FtpConfiguration |
configuration
Configuration
|
protected Class<? extends DataBusinessHandler> |
dataBusinessHandler
Business Handler Class
|
protected static org.waarp.ftp.core.data.handler.FtpDataStructureCodec |
ftpDataStructureCodec |
protected static org.waarp.ftp.core.data.handler.FtpDataTypeCodec |
ftpDataTypeCodec |
static String |
HANDLER
Handler Codec
|
protected boolean |
isActive
Is this factory for Active mode
|
static String |
PIPELINE_EXECUTOR
Pipeline Executor Codec
|
Constructor and Description |
---|
FtpDataInitializer(Class<? extends DataBusinessHandler> dataBusinessHandler,
FtpConfiguration configuration,
boolean active)
Constructor which Initializes some data
|
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
public static final String CODEC_MODE
public static final String CODEC_LIMIT
public static final String CODEC_TYPE
public static final String CODEC_STRUCTURE
public static final String PIPELINE_EXECUTOR
public static final String HANDLER
protected static final org.waarp.ftp.core.data.handler.FtpDataTypeCodec ftpDataTypeCodec
protected static final org.waarp.ftp.core.data.handler.FtpDataStructureCodec ftpDataStructureCodec
protected final Class<? extends DataBusinessHandler> dataBusinessHandler
protected final FtpConfiguration configuration
protected final boolean isActive
public FtpDataInitializer(Class<? extends DataBusinessHandler> dataBusinessHandler, FtpConfiguration configuration, boolean active)
dataBusinessHandler
- configuration
- active
- Copyright © 2009–2019 Waarp. All rights reserved.