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 boolean isAdditionalDelay()
public void setAdditionalDelay(boolean isAdditionalDelay)
isAdditionalDelay
- the isAdditionalDelay to setpublic long getDelay()
public void setDelay(long delay)
delay
- the delay to setpublic Date getStart()
public void setStart(Date start)
start
- the start to setpublic String getRequested()
public void setRequested(String requested)
requested
- the requested to setpublic String getRulename()
public void setRulename(String rulename)
rulename
- the rulename to setpublic int getMode()
public void setMode(int mode)
mode
- the mode to setpublic String getFilename()
public void setFilename(String filename)
filename
- the filename to setpublic int getBlocksize()
public void setBlocksize(int blocksize)
blocksize
- the blocksize to setpublic int getRank()
public void setRank(int rank)
rank
- the rank to setpublic long getSpecialId()
public void setSpecialId(long specialId)
specialId
- the specialId to setpublic byte getValidate()
public boolean isToValidate()
public void setValidate(byte validate)
validate
- the validate to setpublic void validate()
public long getOriginalSize()
public void setOriginalSize(long originalSize)
originalSize
- the originalSize to setpublic String getFileInformation()
public void setFileInformation(String fileInformation)
fileInformation
- the fileInformation to setpublic String getSeparator()
public void setSeparator(String separator)
separator
- the separator to setpublic void setFromDbTaskRunner(DbTaskRunner runner)
runner
- public void setRequestUserPacket()
JsonPacket
setRequestUserPacket
in class JsonPacket
Copyright © 2009–2020 Waarp. All rights reserved.