public class TransferRequestJsonPacket extends JsonPacket
Modifier and Type | Field and Description |
---|---|
protected int |
blocksize |
protected long |
delay |
protected String |
fileInformation |
protected String |
filename |
protected boolean |
isAdditionalDelay |
protected int |
mode |
protected long |
originalSize |
protected int |
rank |
protected static byte |
REQANSWERVALIDATE |
protected String |
requested |
protected static byte |
REQVALIDATE |
protected String |
rulename |
protected String |
separator |
protected long |
specialId |
protected Date |
start |
protected byte |
validate |
Constructor and Description |
---|
TransferRequestJsonPacket() |
Modifier and Type | Method and Description |
---|---|
int |
getBlocksize() |
long |
getDelay() |
String |
getFileInformation() |
String |
getFilename() |
int |
getMode() |
long |
getOriginalSize() |
int |
getRank() |
String |
getRequested() |
String |
getRulename() |
String |
getSeparator() |
long |
getSpecialId() |
Date |
getStart() |
byte |
getValidate() |
boolean |
isAdditionalDelay() |
boolean |
isToValidate() |
void |
setAdditionalDelay(boolean isAdditionalDelay) |
void |
setBlocksize(int blocksize) |
void |
setDelay(long delay) |
void |
setFileInformation(String fileInformation) |
void |
setFilename(String filename) |
void |
setFromDbTaskRunner(DbTaskRunner runner)
Update the JsonPacket from runner (blocksize, rank, specialid)
|
void |
setMode(int mode) |
void |
setOriginalSize(long originalSize) |
void |
setRank(int rank) |
void |
setRequested(String requested) |
void |
setRequestUserPacket()
Default value to set
|
void |
setRulename(String rulename) |
void |
setSeparator(String separator) |
void |
setSpecialId(long specialId) |
void |
setStart(Date start) |
void |
setValidate(byte validate) |
void |
validate()
Validate the request
|
createFromBuffer, createObjectNode, fromJson, getComment, getRequestUserPacket, setComment, setRequestUserPacket, toString
protected static final byte REQVALIDATE
protected static final byte REQANSWERVALIDATE
protected String rulename
protected int mode
protected String filename
protected String requested
protected int blocksize
protected int rank
protected long specialId
protected byte validate
protected long originalSize
protected String fileInformation
protected String separator
protected Date start
protected boolean isAdditionalDelay
protected long delay
public final boolean isAdditionalDelay()
public final void setAdditionalDelay(boolean isAdditionalDelay)
isAdditionalDelay
- the isAdditionalDelay to setpublic final long getDelay()
public final void setDelay(long delay)
delay
- the delay to setpublic final Date getStart()
public final void setStart(Date start)
start
- the start to setpublic final String getRequested()
public final void setRequested(String requested)
requested
- the requested to setpublic final String getRulename()
public final void setRulename(String rulename)
rulename
- the rulename to setpublic final int getMode()
public final void setMode(int mode)
mode
- the mode to setpublic final String getFilename()
public final void setFilename(String filename)
filename
- the filename to setpublic final int getBlocksize()
public final void setBlocksize(int blocksize)
blocksize
- the blocksize to setpublic final int getRank()
public final void setRank(int rank)
rank
- the rank to setpublic final long getSpecialId()
public final void setSpecialId(long specialId)
specialId
- the specialId to setpublic final byte getValidate()
public final boolean isToValidate()
public final void setValidate(byte validate)
validate
- the validate to setpublic final void validate()
public final long getOriginalSize()
public final void setOriginalSize(long originalSize)
originalSize
- the originalSize to setpublic final String getFileInformation()
public final void setFileInformation(String fileInformation)
fileInformation
- the fileInformation to setpublic final String getSeparator()
public final void setSeparator(String separator)
separator
- the separator to setpublic final void setFromDbTaskRunner(DbTaskRunner runner)
runner
- public final void setRequestUserPacket()
JsonPacket
setRequestUserPacket
in class JsonPacket
Copyright © 2009–2022 Waarp. All rights reserved.