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

/**
 * Implements methods for capturing events sourced from Smtp class. This class
 * is intended to provide vertical compatibility with SmtpListener interface.
 * Typicaly your application will use this class instead of SmtpListener
 * interface to capture the following events :
 * <br><code>SmtpConnectedEvent</code><br><code>SmtpDisconnectedEvent</code><br><code>SmtpCommandEvent</code><br><code>SmtpResponseEvent</code>
 * <p/>
 * <P></p>
 */
public class SmtpAdapter
        implements SmtpListener {
    /**
     * Invoked when connection to SMTP server is established.
     *
     * @param event a <code>SmtpConnectedEvent</code>
     *
     * @see SmtpConnectedEvent
     */
    public void connected(SmtpConnectedEvent event) {
    }

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

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

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