openr66.protocol.test
Class TestSendThroughClient

java.lang.Object
  extended by openr66.client.AbstractTransfer
      extended by openr66.client.SendThroughClient
          extended by openr66.protocol.test.TestSendThroughClient
All Implemented Interfaces:
Runnable

public class TestSendThroughClient
extends SendThroughClient

Test class for Send Through client

Author:
Frederic Bregier

Field Summary
 
Fields inherited from class openr66.client.SendThroughClient
localChannelReference, networkTransaction, taskRunner
 
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
TestSendThroughClient(R66Future future, String remoteHost, String filename, String rulename, String fileinfo, boolean isMD5, int blocksize, NetworkTransaction networkTransaction)
           
 
Method Summary
static void main(String[] args)
           
 boolean sendFile()
           
 
Methods inherited from class openr66.client.SendThroughClient
finalizeRequest, initiateRequest, run, transferInError, transformToDataBlock, writeWhenPossible
 
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

TestSendThroughClient

public TestSendThroughClient(R66Future future,
                             String remoteHost,
                             String filename,
                             String rulename,
                             String fileinfo,
                             boolean isMD5,
                             int blocksize,
                             NetworkTransaction networkTransaction)
Parameters:
future -
remoteHost -
filename -
rulename -
fileinfo -
isMD5 -
blocksize -
networkTransaction -
Method Detail

sendFile

public boolean sendFile()

main

public static void main(String[] args)
Parameters:
args -


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