00001 /* 00002 * JORAM: Java(TM) Open Reliable Asynchronous Messaging 00003 * Copyright (C) 2001 - 2007 ScalAgent Distributed Technologies 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 00018 * USA. 00019 * 00020 * Initial developer(s): Nicolas Tachker (ScalAgent) 00021 * Contributor(s): 00022 */ 00023 package com.scalagent.joram.mom.dest.ftp; 00024 00025 00026 public interface TransferItf { 00027 00028 public String getFile(String protocol, 00029 String host, 00030 int port, 00031 String user, 00032 String pass, 00033 String remotePath, 00034 String localPath, 00035 String remoteFileName, 00036 String localFileName, 00037 String type, 00038 long crc) throws Exception; 00039 }
1.5.0