source: 3thparty/jupload/src/main/java/wjhk/jupload2/upload/UploadFileDataPoisonned.java @ 3951

Revision 3951, 746 bytes checked in by alexandrecorreia, 13 years ago (diff)

Ticket #1709 - Adicao de codigo fonte java do componente jupload

Line 
1package wjhk.jupload2.upload;
2
3/**
4 *
5 * This class is a kind of 'End of Queue' object. It is posted by the
6 * {@link FilePreparationThread} on the preparedFileQueue, to indicate to the
7 * {@link PacketConstructionThread} that the last file was sent.
8 *
9 * @author etienne_sf
10 *
11 */
12public class UploadFileDataPoisonned extends UploadFileData {
13
14    UploadFileDataPoisonned() {
15        super(null, -1, null, null);
16    }
17
18    /**
19     * @return the poisonned status. Returns always true, as this class is only
20     *         used to indicate the 'End Of Queue' marker in the
21     *         preparedFileQueue.
22     * @see UploadFileData
23     */
24    final public boolean isPoisonned() {
25        return true;
26    }
27
28}
Note: See TracBrowser for help on using the repository browser.