public abstract class DataBusinessHandler extends Object
Constructor and Description |
---|
DataBusinessHandler()
Constructor with no argument (mandatory)
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
cleanSession()
To Clean the session attached objects for Data Network
|
void |
clear()
Clean the DataBusinessHandler
|
abstract void |
exceptionLocalCaught(Throwable 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(io.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
|
public DataBusinessHandler()
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(io.netty.channel.Channel channel)
channel
- public abstract void exceptionLocalCaught(Throwable e)
e
- Copyright © 2009–2019 Waarp. All rights reserved.