/*
 * @(#)SftpAdapter.java
 *
 * Copyright (c) 2001-2004 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.sftp.events;


/**
 * Implements methods for capturing events sourced from Sftp class. Typicaly your
 * application will use this class instead of SftpListener interface to capture the
 * following events :<P>
 * </P>
 * <code>SftpConnectedEvent</code><br>
 * <code>SftpDisconnectedEvent</code><br>
 * <code>SftpUploadEvent</code><br>
 * <code>SftpDownloadEvent</code><br>
 * <code>SfpListingEvent</code><br>
 * <code>SftpProgressEvent</code><br>
 */
public class SftpAdapter
        implements SftpListener {

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

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

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

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

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

    /**
     * Invoked when directory listing is retrieved from SSH server.
     *
     * @param event a <code>SftpListingEvent</code>
     *
     * @see SftpListingEvent
     */
    public void dirListing(SftpListingEvent event) {
        return;
    }

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


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

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

    }

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

    }

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

    }

}
