goldengate.ftp.exec.control
Class ExecBusinessHandler
java.lang.Object
goldengate.ftp.core.control.BusinessHandler
goldengate.ftp.exec.control.ExecBusinessHandler
public class ExecBusinessHandler
- extends goldengate.ftp.core.control.BusinessHandler
BusinessHandler implementation that allows pre and post actions on any
operations and specifically on transfer operations
- Author:
- Frederic Bregier
|
Field Summary |
goldengate.common.database.DbSession |
dbFtpSession
Associated DbFtpSession |
goldengate.common.database.DbSession |
dbR66Session
Associated DbR66Session |
| Methods inherited from class goldengate.ftp.core.control.BusinessHandler |
clear, getDefaultFeatMessage, getFtpSession, getMLSxOptsMessage, getNetworkHandler, setNetworkHandler |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dbFtpSession
public goldengate.common.database.DbSession dbFtpSession
- Associated DbFtpSession
dbR66Session
public goldengate.common.database.DbSession dbR66Session
- Associated DbR66Session
ExecBusinessHandler
public ExecBusinessHandler()
afterTransferDoneBeforeAnswer
public void afterTransferDoneBeforeAnswer(goldengate.ftp.core.data.FtpTransfer transfer)
throws goldengate.common.command.exception.CommandAbstractException
- Specified by:
afterTransferDoneBeforeAnswer in class goldengate.ftp.core.control.BusinessHandler
- Throws:
goldengate.common.command.exception.CommandAbstractException
afterRunCommandKo
public void afterRunCommandKo(goldengate.common.command.exception.CommandAbstractException e)
- Specified by:
afterRunCommandKo in class goldengate.ftp.core.control.BusinessHandler
afterRunCommandOk
public void afterRunCommandOk()
throws goldengate.common.command.exception.CommandAbstractException
- Specified by:
afterRunCommandOk in class goldengate.ftp.core.control.BusinessHandler
- Throws:
goldengate.common.command.exception.CommandAbstractException
beforeRunCommand
public void beforeRunCommand()
throws goldengate.common.command.exception.CommandAbstractException
- Specified by:
beforeRunCommand in class goldengate.ftp.core.control.BusinessHandler
- Throws:
goldengate.common.command.exception.CommandAbstractException
cleanSession
protected void cleanSession()
- Specified by:
cleanSession in class goldengate.ftp.core.control.BusinessHandler
exceptionLocalCaught
public void exceptionLocalCaught(org.jboss.netty.channel.ExceptionEvent e)
- Specified by:
exceptionLocalCaught in class goldengate.ftp.core.control.BusinessHandler
executeChannelClosed
public void executeChannelClosed()
- Specified by:
executeChannelClosed in class goldengate.ftp.core.control.BusinessHandler
executeChannelConnected
public void executeChannelConnected(org.jboss.netty.channel.Channel channel)
- Specified by:
executeChannelConnected in class goldengate.ftp.core.control.BusinessHandler
getBusinessNewAuth
public FileBasedAuth getBusinessNewAuth()
- Specified by:
getBusinessNewAuth in class goldengate.ftp.core.control.BusinessHandler
getBusinessNewDir
public FileBasedDir getBusinessNewDir()
- Specified by:
getBusinessNewDir in class goldengate.ftp.core.control.BusinessHandler
getBusinessNewRestart
public goldengate.ftp.filesystembased.FilesystemBasedFtpRestart getBusinessNewRestart()
- Specified by:
getBusinessNewRestart in class goldengate.ftp.core.control.BusinessHandler
getHelpMessage
public String getHelpMessage(String arg)
- Specified by:
getHelpMessage in class goldengate.ftp.core.control.BusinessHandler
getFeatMessage
public String getFeatMessage()
- Specified by:
getFeatMessage in class goldengate.ftp.core.control.BusinessHandler
getOptsMessage
public String getOptsMessage(String[] args)
throws goldengate.common.command.exception.CommandAbstractException
- Specified by:
getOptsMessage in class goldengate.ftp.core.control.BusinessHandler
- Throws:
goldengate.common.command.exception.CommandAbstractException
getSpecializedSiteCommand
public goldengate.ftp.core.command.AbstractCommand getSpecializedSiteCommand(goldengate.ftp.core.session.FtpSession session,
String line)
- Specified by:
getSpecializedSiteCommand in class goldengate.ftp.core.control.BusinessHandler
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.