001package jmaster.jumploader.model.api.upload;
002
003/**
004 * IUploadThread
005 * 
006 * @author timur
007 */
008
009public interface IUploadThread {
010        //---------------------------------------------------------------
011        //      constants
012        //---------------------------------------------------------------
013        //---------------------------------------------------------------
014        //      business methods
015        //---------------------------------------------------------------
016        /**
017         * add listener
018         */
019        public void addListener( IUploadThreadListener listener );
020        /**
021         * remove listener
022         */
023        public void removeListener( IUploadThreadListener listener );
024        /**
025         * currently uploading file retrieval
026         */
027        public IUploadFile getUploadFile();
028}