openr66.r66gui
Class ProgressDirectTransfer

java.lang.Object
  extended by openr66.client.AbstractTransfer
      extended by openr66.client.ProgressBarTransfer
          extended by openr66.r66gui.ProgressDirectTransfer
All Implemented Interfaces:
Runnable

public class ProgressDirectTransfer
extends openr66.client.ProgressBarTransfer

Author:
Frederic Bregier

Field Summary
 
Fields inherited from class openr66.client.ProgressBarTransfer
filesize, INTERVALCALLBACK, 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
ProgressDirectTransfer(openr66.protocol.utils.R66Future future, String remoteHost, String filename, String rulename, String fileinfo, boolean isMD5, int blocksize, long id, openr66.protocol.networkhandler.NetworkTransaction networkTransaction, long callbackdelay, JProgressBar progressBar, JEditorPane textFieldStatus)
           
 
Method Summary
 void callBack(int currentBlock, int blocksize)
           
 void lastCallBack(boolean success, int currentBlock, int blocksize)
           
 
Methods inherited from class openr66.client.ProgressBarTransfer
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

ProgressDirectTransfer

public ProgressDirectTransfer(openr66.protocol.utils.R66Future future,
                              String remoteHost,
                              String filename,
                              String rulename,
                              String fileinfo,
                              boolean isMD5,
                              int blocksize,
                              long id,
                              openr66.protocol.networkhandler.NetworkTransaction networkTransaction,
                              long callbackdelay,
                              JProgressBar progressBar,
                              JEditorPane textFieldStatus)
Parameters:
future -
remoteHost -
filename -
rulename -
fileinfo -
isMD5 -
blocksize -
id -
networkTransaction -
callbackdelay -
Method Detail

callBack

public void callBack(int currentBlock,
                     int blocksize)
Specified by:
callBack in class openr66.client.ProgressBarTransfer

lastCallBack

public void lastCallBack(boolean success,
                         int currentBlock,
                         int blocksize)
Specified by:
lastCallBack in class openr66.client.ProgressBarTransfer


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