|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.netty.channel.SimpleChannelHandler
goldengate.ftp.core.control.NetworkHandler
public class NetworkHandler
Main Network Handler (Control part) implementing RFC 959, 775, 2389, 2428, 3659 and supports XCRC and XMD5 commands.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
---|
org.jboss.netty.channel.ChannelHandler.Sharable |
Constructor Summary | |
---|---|
NetworkHandler(FtpSession session)
Constructor from session |
Method Summary | |
---|---|
void |
channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
Run firstly executeChannelClosed. |
void |
channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
Initialiaze the Handler. |
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
Default exception task: close the current connection after calling exceptionLocalCaught and writing if possible the current replyCode. |
BusinessHandler |
getBusinessHandler()
|
org.jboss.netty.channel.Channel |
getControlChannel()
|
FtpSession |
getFtpSession()
|
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
Simply call messageRun with the received message |
org.jboss.netty.channel.ChannelFuture |
writeIntermediateAnswer()
Write an intermediate Answer from Business before last answer also set by the Business |
Methods inherited from class org.jboss.netty.channel.SimpleChannelHandler |
---|
bindRequested, channelBound, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, handleDownstream, handleUpstream, setInterestOpsRequested, unbindRequested, writeComplete, writeRequested |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetworkHandler(FtpSession session)
session
- Method Detail |
---|
public BusinessHandler getBusinessHandler()
public FtpSession getFtpSession()
public org.jboss.netty.channel.Channel getControlChannel()
public void channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e) throws Exception
channelClosed
in class org.jboss.netty.channel.SimpleChannelHandler
Exception
SimpleChannelHandler.channelClosed(org.jboss.netty.channel.ChannelHandlerContext,
org.jboss.netty.channel.ChannelStateEvent)
public void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)
channelConnected
in class org.jboss.netty.channel.SimpleChannelHandler
SimpleChannelHandler.channelConnected(org.jboss.netty.channel.ChannelHandlerContext,
org.jboss.netty.channel.ChannelStateEvent)
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)
exceptionCaught
in class org.jboss.netty.channel.SimpleChannelHandler
SimpleChannelHandler.exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext,
org.jboss.netty.channel.ExceptionEvent)
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
messageReceived
in class org.jboss.netty.channel.SimpleChannelHandler
SimpleChannelHandler.messageReceived(org.jboss.netty.channel.ChannelHandlerContext,
org.jboss.netty.channel.MessageEvent)
public org.jboss.netty.channel.ChannelFuture writeIntermediateAnswer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |