/*
 * @(#)FtpEvent.java
 *
 * Copyright (c) 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.ftp;

import java.util.EventObject;

/**
 * Abstract event class for handling FTP related events
 */
public abstract class FtpEvent
        extends EventObject {

    /**
     * Creates a new FtpEvent
     *
     * @param source
     */
    protected FtpEvent(Object source) {
        super(source);
    }

    /**
     * Event is accepted by listener
     *
     * @param listener
     */
    public abstract void accept(FtpListener listener);
}
