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

/**
 * Implements methods for capturing events sourced from Http class. This class
 * is intended to provide vertical compatibility with HttpListener interface.
 * Typicaly your application will use this class instead of HttpListener
 * interface to capture the following events : <br>
 * HttpConnectedEvent<br>
 * HttpDisconnectedEvent<br>
 * HttpProgressEvent
 * <p/>
 * <P></p>
 */
public class HttpAdapter
        implements HttpListener {
    /**
     * Invoked when connection to HTTP server is established.
     *
     * @param event a <code>HttpConnectedEvent</code>
     *
     * @see com.jscape.inet.http.HttpConnectedEvent
     */
    public void connected(HttpConnectedEvent event) {
    }

    /**
     * Invoked when connection to HTTP server is released.
     *
     * @param event a <code>HttpDisconnectedEvent</code>
     *
     * @see com.jscape.inet.http.HttpDisconnectedEvent
     */
    public void disconnected(HttpDisconnectedEvent event) {
    }

    /**
     * Invoked to mark progress of a download operation.<br>
     *
     * @param event a <code>HttpProgressEvent</code>
     *
     * @see com.jscape.inet.http.HttpProgressEvent
     */
    public void progress(HttpProgressEvent event) {
    }
}
