
public class FtpDataInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
| Modifier and Type | Field and Description | 
|---|---|
| static String | CODEC_LIMITLimit Codec | 
| static String | CODEC_MODEMode Codec | 
| static String | CODEC_STRUCTUREStructure Codec | 
| static String | CODEC_TYPEType Codec | 
| protected FtpConfiguration | configurationConfiguration | 
| protected Class<? extends DataBusinessHandler> | dataBusinessHandlerBusiness Handler Class | 
| protected static org.waarp.ftp.core.data.handler.FtpDataStructureCodec | ftpDataStructureCodec | 
| protected static org.waarp.ftp.core.data.handler.FtpDataTypeCodec | ftpDataTypeCodec | 
| static String | HANDLERHandler Codec | 
| protected boolean | isActiveIs this factory for Active mode | 
| static String | PIPELINE_EXECUTORPipeline 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, handlerRemovedpublic 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.