public class DirectTransfer extends AbstractTransfer
Modifier and Type | Field and Description |
---|---|
protected boolean |
limitRetryConnection |
protected NetworkTransaction |
networkTransaction |
_INFO_ARGS, block, blocksize, fileinfo, fileInfo, filename, future, id, idt, ismd5, isMD5, localFilename, logger, NO_INFO_ARGS, nolog, normalInfoAsWarn, remoteHost, rhost, rule, rulename, snormalInfoAsWarn, startTime, ttimestart
Constructor and Description |
---|
DirectTransfer(R66Future future,
String remoteHost,
String filename,
String rulename,
String fileinfo,
boolean isMD5,
int blocksize,
long id,
NetworkTransaction networkTransaction) |
Modifier and Type | Method and Description |
---|---|
boolean |
isLimitRetryConnection() |
static void |
main(String[] args) |
void |
run()
Prior to call this method, the pipeline and NetworkTransaction must have
been initialized.
|
void |
setLimitRetryConnection(boolean limitRetryConnection) |
clear, finalizeInErrorTransferRequest, getLocalFiles, getParams, getParamsInternal, getRemoteFiles, initRequest, prepareKoOutputFormat, prepareKoOutputFormat, prepareOkOutputFormat, prepareSubmitKoOutputFormat, prepareSubmitOkOutputFormat, sendValidPacket, setNormalInfoAsWarn, tryConnect
protected final NetworkTransaction networkTransaction
protected boolean limitRetryConnection
public boolean isLimitRetryConnection()
public void setLimitRetryConnection(boolean limitRetryConnection)
limitRetryConnection
- True (default) for limited retry on
connection, False to have no limitpublic void run()
public static void main(String[] args)
Copyright © 2009–2020 Waarp. All rights reserved.