1 /** 2 * Copyright 2009, Frederic Bregier, and individual contributors by the @author 3 * tags. See the COPYRIGHT.txt in the distribution for a full listing of 4 * individual contributors. 5 * 6 * This is free software; you can redistribute it and/or modify it under the 7 * terms of the GNU Lesser General Public License as published by the Free 8 * Software Foundation; either version 3.0 of the License, or (at your option) 9 * any later version. 10 * 11 * This software is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 13 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 14 * details. 15 * 16 * You should have received a copy of the GNU Lesser General Public License 17 * along with this software; if not, write to the Free Software Foundation, 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF 19 * site: http://www.fsf.org. 20 */ 21 package goldengate.ftp.exec.data; 22 23 import goldengate.ftp.core.data.handler.DataBusinessHandler; 24 25 import org.jboss.netty.channel.Channel; 26 import org.jboss.netty.channel.ExceptionEvent; 27 28 /** 29 * DataBusinessHandler implementation based on Simple Filesystem : do nothing 30 * 31 * @author Frederic Bregier 32 * 33 */ 34 public class FileSystemBasedDataBusinessHandler extends DataBusinessHandler { 35 /* 36 * (non-Javadoc) 37 * 38 * @see 39 * goldengate.ftp.core.data.handler.DataBusinessHandler#cleanSession(goldengate 40 * .ftp.core.session.FtpSession) 41 */ 42 @Override 43 protected void cleanSession() { 44 } 45 46 /* 47 * (non-Javadoc) 48 * 49 * @see 50 * goldengate.ftp.core.data.handler.DataBusinessHandler#exceptionLocalCaught 51 * (org.jboss.netty.channel.ExceptionEvent) 52 */ 53 @Override 54 public void exceptionLocalCaught(ExceptionEvent e) { 55 } 56 57 /* 58 * (non-Javadoc) 59 * 60 * @see 61 * goldengate.ftp.core.data.handler.DataBusinessHandler#executeChannelClosed 62 * () 63 */ 64 @Override 65 public void executeChannelClosed() { 66 } 67 68 /* 69 * (non-Javadoc) 70 * 71 * @see 72 * goldengate.ftp.core.data.handler.DataBusinessHandler#executeChannelConnected 73 * (org.jboss.netty.channel.Channel) 74 */ 75 @Override 76 public void executeChannelConnected(Channel channel) { 77 } 78 }