goldengate.ftp.core.control
Class FtpControlStringDecoder

java.lang.Object
  extended by org.jboss.netty.handler.codec.oneone.OneToOneDecoder
      extended by org.jboss.netty.handler.codec.string.StringDecoder
          extended by goldengate.ftp.core.control.FtpControlStringDecoder
All Implemented Interfaces:
org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler

public class FtpControlStringDecoder
extends org.jboss.netty.handler.codec.string.StringDecoder

Exactly same as StringDecoder from Netty

Author:
Frederic Bregier

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
FtpControlStringDecoder()
           
FtpControlStringDecoder(Charset arg0)
           
FtpControlStringDecoder(String arg0)
           
 
Method Summary
protected  Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, Object msg)
           
 
Methods inherited from class org.jboss.netty.handler.codec.oneone.OneToOneDecoder
handleUpstream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FtpControlStringDecoder

public FtpControlStringDecoder()

FtpControlStringDecoder

public FtpControlStringDecoder(String arg0)
Parameters:
arg0 -
See Also:
StringDecoder

FtpControlStringDecoder

public FtpControlStringDecoder(Charset arg0)
Parameters:
arg0 -
See Also:
StringDecoder
Method Detail

decode

protected Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
                        org.jboss.netty.channel.Channel channel,
                        Object msg)
                 throws Exception
Overrides:
decode in class org.jboss.netty.handler.codec.string.StringDecoder
Throws:
Exception


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.