openr66.client
Class DirectTransfer
java.lang.Object
openr66.client.AbstractTransfer
openr66.client.DirectTransfer
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- TestTransferNoDb
public class DirectTransfer
- extends AbstractTransfer
Direct Transfer from a client with or without database connection
- Author:
- Frederic Bregier
Fields inherited from class openr66.client.AbstractTransfer |
block, blocksize, dateFormat, fileinfo, fileInfo, filename, future, id, idt, ismd5, isMD5, localFilename, logger, nolog, remoteHost, rhost, rule, rulename, startTime, ttimestart |
Method Summary |
static void |
main(String[] args)
|
void |
run()
Prior to call this method, the pipeline and NetworkTransaction must have been initialized. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
networkTransaction
protected final NetworkTransaction networkTransaction
DirectTransfer
public DirectTransfer(R66Future future,
String remoteHost,
String filename,
String rulename,
String fileinfo,
boolean isMD5,
int blocksize,
long id,
NetworkTransaction networkTransaction)
run
public void run()
- Prior to call this method, the pipeline and NetworkTransaction must have been initialized.
It is the responsibility of the caller to finish all network resources.
main
public static void main(String[] args)
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.