openr66.client
Class SubmitTransfer

java.lang.Object
  extended by openr66.client.AbstractTransfer
      extended by openr66.client.SubmitTransfer
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
TestSubmitTransfer

public class SubmitTransfer
extends AbstractTransfer

Client to submit a transfer

Author:
Frederic Bregier

Field Summary
 
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
SubmitTransfer(R66Future future, String remoteHost, String filename, String rulename, String fileinfo, boolean isMD5, int blocksize, long id, Timestamp starttime)
           
 
Method Summary
static void main(String[] args)
           
 void run()
           
 
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
 

Constructor Detail

SubmitTransfer

public SubmitTransfer(R66Future future,
                      String remoteHost,
                      String filename,
                      String rulename,
                      String fileinfo,
                      boolean isMD5,
                      int blocksize,
                      long id,
                      Timestamp starttime)
Method Detail

run

public void run()

main

public static void main(String[] args)
Parameters:
args - configuration file, the remoteHost Id, the file to transfer, the rule, file transfer information as arguments and optionally isMD5=1 for true or 0 for false(default) and the blocksize if different than default


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.