openr66.client
Class DirectTransfer

java.lang.Object
  extended by openr66.client.AbstractTransfer
      extended by 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

Field Summary
protected  NetworkTransaction networkTransaction
           
 
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
 
Constructor Summary
DirectTransfer(R66Future future, String remoteHost, String filename, String rulename, String fileinfo, boolean isMD5, int blocksize, long id, NetworkTransaction networkTransaction)
           
 
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 openr66.client.AbstractTransfer
getParams, initRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

networkTransaction

protected final NetworkTransaction networkTransaction
Constructor Detail

DirectTransfer

public DirectTransfer(R66Future future,
                      String remoteHost,
                      String filename,
                      String rulename,
                      String fileinfo,
                      boolean isMD5,
                      int blocksize,
                      long id,
                      NetworkTransaction networkTransaction)
Method Detail

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.