| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgoldengate.ftp.core.config.FtpInternalConfiguration
public class FtpInternalConfiguration

Internal configuration of the FTP server, related to Netty
| Nested Class Summary | |
|---|---|
 class | 
FtpInternalConfiguration.BindAddress
 | 
| Field Summary | |
|---|---|
static int | 
BUFFERSIZEDEFAULT
Default size for buffers (NIO)  | 
static Boolean | 
ISUNIX
Hack to say Windows or Unix (USR1 not OK on Windows)  | 
static long | 
RETRYINMS
Time elapse for retry in ms  | 
static int | 
RETRYNB
Number of retry before error  | 
static long | 
WAITFORNETOP
Time elapse for WRITE OR CLOSE WAIT elaps in ms  | 
| Constructor Summary | |
|---|---|
FtpInternalConfiguration(FtpConfiguration configuration)
Constructor  | 
|
| Method Summary | |
|---|---|
 void | 
bindPassive(InetSocketAddress address)
Try to add a Passive Channel listening to the specified local address  | 
 void | 
delFtpSession(InetAddress ipOnly,
              InetSocketAddress fullIp)
Remove the FtpSession  | 
 org.jboss.netty.bootstrap.ClientBootstrap | 
getActiveBootstrap()
 | 
 org.jboss.netty.channel.ChannelFactory | 
getCommandChannelFactory()
 | 
 org.jboss.netty.channel.group.ChannelGroup | 
getCommandChannelGroup()
 | 
 org.jboss.netty.channel.ChannelFactory | 
getDataActiveChannelFactory()
 | 
 org.jboss.netty.channel.group.ChannelGroup | 
getDataChannelGroup()
 | 
 org.jboss.netty.channel.ChannelFactory | 
getDataPassiveChannelFactory()
 | 
 org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor | 
getDataPipelineExecutor()
Return the associated PipelineExecutor for Data Pipeline  | 
 FtpSession | 
getFtpSession(org.jboss.netty.channel.Channel channel,
              boolean active)
Return and remove the FtpSession  | 
 org.jboss.netty.handler.traffic.GlobalTrafficShapingHandler | 
getGlobalTrafficShapingHandler()
 | 
 int | 
getNbBindedPassive()
 | 
 int | 
getNumberSessions()
 | 
 org.jboss.netty.util.ObjectSizeEstimator | 
getObjectSizeEstimator()
 | 
 org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor | 
getPipelineExecutor()
Return the associated PipelineExecutor for Command Pipeline  | 
 ExecutorService | 
getWorker()
 | 
 boolean | 
hasFtpSession(InetAddress ipOnly,
              InetSocketAddress fullIp)
Test if the couple of addresses is already in the context  | 
 org.jboss.netty.handler.traffic.ChannelTrafficShapingHandler | 
newChannelTrafficShapingHandler()
 | 
 void | 
releaseResources()
 | 
 void | 
serverStartup()
Startup the server  | 
 void | 
setNewFtpSession(InetAddress ipOnly,
                 InetSocketAddress fullIp,
                 FtpSession session)
Add a session from a couple of addresses  | 
 void | 
unbindPassive(InetSocketAddress address)
Try to unbind (closing the parent channel) the Passive Channel listening to the specified local address if the last one.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final long RETRYINMS
public static final int RETRYNB
public static final long WAITFORNETOP
public static Boolean ISUNIX
public static final int BUFFERSIZEDEFAULT
| Constructor Detail | 
|---|
public FtpInternalConfiguration(FtpConfiguration configuration)
configuration - | Method Detail | 
|---|
public void serverStartup()
public ExecutorService getWorker()
public void setNewFtpSession(InetAddress ipOnly,
                             InetSocketAddress fullIp,
                             FtpSession session)
ipOnly - fullIp - session - 
public FtpSession getFtpSession(org.jboss.netty.channel.Channel channel,
                                boolean active)
channel - active - 
public void delFtpSession(InetAddress ipOnly,
                          InetSocketAddress fullIp)
ipOnly - fullIp - 
public boolean hasFtpSession(InetAddress ipOnly,
                             InetSocketAddress fullIp)
ipOnly - fullIp - 
public int getNumberSessions()
public void bindPassive(InetSocketAddress address)
                 throws goldengate.common.command.exception.Reply425Exception
address - 
goldengate.common.command.exception.Reply425Exception - in case the channel cannot be openedpublic void unbindPassive(InetSocketAddress address)
address - public int getNbBindedPassive()
public org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor getPipelineExecutor()
public org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor getDataPipelineExecutor()
public org.jboss.netty.bootstrap.ClientBootstrap getActiveBootstrap()
public org.jboss.netty.channel.ChannelFactory getCommandChannelFactory()
public org.jboss.netty.channel.group.ChannelGroup getCommandChannelGroup()
public org.jboss.netty.channel.ChannelFactory getDataPassiveChannelFactory()
public org.jboss.netty.channel.ChannelFactory getDataActiveChannelFactory()
public org.jboss.netty.channel.group.ChannelGroup getDataChannelGroup()
public org.jboss.netty.util.ObjectSizeEstimator getObjectSizeEstimator()
public org.jboss.netty.handler.traffic.GlobalTrafficShapingHandler getGlobalTrafficShapingHandler()
public org.jboss.netty.handler.traffic.ChannelTrafficShapingHandler newChannelTrafficShapingHandler()
public void releaseResources()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||