1 package 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 */
12 public 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 }