/*
 * @(#)ImapAdapter.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.imap;

/**
 * Implements methods for capturing events sourced from Imap class. This class
 * is intended to provide vertical compatibility with ImapListener interface.
 * Typicaly your application will use this class instead of PopListener
 * interface to capture the following events : <br>
 * ImapConnectedEvent<br>
 * ImapDisconnectedEvent<br>
 * ImapCommandEvent<br>
 * ImapResponseEvent<br>
 * ImapMessageEvent
 * <p/>
 * <P></p>
 */
public class ImapAdapter
        implements ImapListener {
    /**
     * Invoked when command is sent to the IMAP server
     *
     * @param event a <code>ImapCommandEvent</code>
     *
     * @see ImapCommandEvent
     */
    public void commandSent(ImapCommandEvent event) {
    }

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

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

    /**
     * Invoked when message is retrieved from IMAP server.
     *
     * @param event a <code>ImapMessageEvent</code>
     *
     * @see com.jscape.inet.imap.ImapMessageEvent
     */
    public void messageRetrieved(ImapMessageEvent event) {
    }

    /**
     * Invoked frequently during the download process of a message from IMAP server
     *
     * @param event a <code>ImapMessageProgressEvent</code>
     *
     * @see ImapMessageProgressEvent
     */
    public void progress(ImapMessageProgressEvent event) {

    }


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