/*
 * @(#)FtpAdapter.java
 *
 * Copyright (c) 2001-2002 JScape
 * 1147 S. 53rd Pl., Mesa, Arizona, 85206, U.S.A.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * JScape. ("Confidential Information").  You shall not disclose such
 * Confidential Information and shall use it only in accordance with
 * the terms of the license agreement you entered into with JScape.
 */
package com.jscape.inet.ftp;


/**
 * Implements methods for capturing events sourced from Ftp class.
 * This class is intended to provide vertical compatibility with FtpListener
 * interface.
 * Typicaly your application will use this class instead of FtpListener interface
 * to capture the following events :
 * <br>
 * <code>FtpConnectedEvent</code><br>
 * <code>FtpDisconnectedEvent</code><br>
 * <code>FtpUploadEvent</code><br>
 * <code>FtpDownloadEvent</code><br>
 * <code>FtpCommandEvent</code><br>
 * <code>FtpResponseEvent</code><br>
 * <code>FtpListingEvent</code><br>
 * <code>FtpProgressEvent</code><br>
 * <code>FtpConnectionLostEvent</code>
 * <p/>
 */
public class FtpAdapter
        implements FtpListener {

    /**
     * Invoked when connection to FTP server is established.
     *
     * @param event a <code>FtpConnectedEvent</code>
     *
     * @see FtpConnectedEvent
     */
    public void connected(FtpConnectedEvent event) {
    }

    /**
     * Invoked when connection to FTP server is released.
     *
     * @param event a <code>FtpDisconnectedEvent</code>
     *
     * @see FtpDisconnectedEvent
     */
    public void disconnected(FtpDisconnectedEvent event) {
    }

    /**
     * Invoked when file is uploaded to FTP server.
     *
     * @param event a <code>FtpUploadEvent</code>
     *
     * @see FtpUploadEvent
     */
    public void upload(FtpUploadEvent event) {
    }

    /**
     * Invoked when file is downloaded from FTP server.
     *
     * @param event a <code>FtpDownloadEvent</code>
     *
     * @see FtpDownloadEvent
     */
    public void download(FtpDownloadEvent event) {
    }

    /**
     * Invoked to mark progress of a download or upload operation.<br>
     *
     * @param event a <code>FtpProgressEvent</code>
     *
     * @see FtpProgressEvent
     */
    public void progress(FtpProgressEvent event) {
    }

    /**
     * Invoked when directory listing is retrieved from FTP server.
     *
     * @param event a <code>FtpListingEvent</code>
     *
     * @see FtpListingEvent
     */
    public void listing(FtpListingEvent event) {
    }

    /**
     * Invoked when a command is sent to FTP server.
     *
     * @param event a <code>FtpCommandEvent</code>
     *
     * @see FtpCommandEvent
     */
    public void commandSent(FtpCommandEvent event) {
    }

    /**
     * Invoked when a response is received from FTP server.
     *
     * @param event a <code>FtpResponseEvent</code>
     *
     * @see FtpResponseEvent
     */
    public void responseReceived(FtpResponseEvent event) {
    }

    /**
     * Invoked when connection to FTP server is unexpectedly closed.
     *
     * @param event a <code>FtpConnectionLostEvent</code>
     *
     * @see FtpConnectionLostEvent
     */
    public void connectionLost(FtpConnectionLostEvent event) {
    }

    /**
     * Invoked when directory is deleted.
     *
     * @param event a <code>FtpDeleteDirEvent</code>
     *
     * @see FtpDeleteDirEvent
     */
    public void deleteDir(FtpDeleteDirEvent event) {
    }


    /**
     * Invoked when a file is deleted.
     *
     * @param event a <code>FtpDeleteFileEvent</code>
     *
     * @see FtpDeleteFileEvent
     */
    public void deleteFile(FtpDeleteFileEvent event) {
    }

    /**
     * Invoked when a file is renamed.
     *
     * @param event a <code>FtpRenameFileEvent</code>
     *
     * @see FtpRenameFileEvent
     */
    public void renameFile(FtpRenameFileEvent event) {
    }

    /**
     * Invoked when a directory is created.
     *
     * @param event a <code>FtpCreateDirEvent</code>
     *
     * @see FtpCreateDirEvent
     */
    public void createDir(FtpCreateDirEvent event) {
    }

    /**
     * Invoked when the remote directory path is changed on the server.
     *
     * @param event a <code>FtpChangeDirEvent</code>
     *
     * @see FtpChangeDirEvent
     */
    public void changeDir(FtpChangeDirEvent event) {

    }


}
