|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgoldengate.ftp.core.data.handler.DataBusinessHandler
public abstract class DataBusinessHandler
This class is to be implemented in order to allow Business actions according to FTP service
Constructor Summary | |
---|---|
DataBusinessHandler()
Constructor with no argument (mandatory) |
Method Summary | |
---|---|
protected abstract void |
cleanSession()
To Clean the session attached objects for Data Network |
void |
clear()
Clean the DataBusinessHandler |
abstract void |
exceptionLocalCaught(org.jboss.netty.channel.ExceptionEvent e)
Run when an exception is get before the channel is closed. |
abstract void |
executeChannelClosed()
Is executed when the channel is closed, just before the test on the finish status. |
abstract void |
executeChannelConnected(org.jboss.netty.channel.Channel channel)
Is executed when the channel is connected after the handler is on, before answering OK or not on connection, except if the global service is going to shutdown. |
DataNetworkHandler |
getDataNetworkHandler()
|
FtpSession |
getFtpSession()
|
void |
setDataNetworkHandler(DataNetworkHandler dataNetworkHandler)
Call when the DataNetworkHandler is created |
void |
setFtpSession(FtpSession session)
Called when the connection is opened |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataBusinessHandler()
Method Detail |
---|
public void setDataNetworkHandler(DataNetworkHandler dataNetworkHandler)
dataNetworkHandler
- the dataNetworkHandler to setpublic DataNetworkHandler getDataNetworkHandler()
public void setFtpSession(FtpSession session)
session
- the session to setpublic FtpSession getFtpSession()
public abstract void executeChannelClosed()
protected abstract void cleanSession()
public void clear()
public abstract void executeChannelConnected(org.jboss.netty.channel.Channel channel)
channel
- public abstract void exceptionLocalCaught(org.jboss.netty.channel.ExceptionEvent e)
e
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |