/*
 * @(#)FileTransferEvent.java
 *
 * Copyright (c) 1999-2007 JSCAPE LLC
 *
 * 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.filetransfer;

import java.util.EventObject;

/**
 * Generic base for file transfer events.
 */
public abstract class FileTransferEvent
        extends EventObject {

    /**
     * Constructs event.
     *
     * @param source source of event.
     */
    protected FileTransferEvent(FileTransfer source) {
        super(source);
    }

    /**
     * Accepts event via FileTransferListener.
     *
     * @param listener the listener which receives event
     */
    public abstract void accept(FileTransferListener listener);

}

