udt.util
Class ReceiveFile

java.lang.Object
  extended by udt.util.Application
      extended by udt.util.ReceiveFile
All Implemented Interfaces:
Runnable

public class ReceiveFile
extends Application

helper class for receiving a single file via UDT Intended to be compatible with the C++ version in the UDT reference implementation main method USAGE: java -cp ... udt.util.ReceiveFile


Field Summary
 
Fields inherited from class udt.util.Application
localIP, localPort, verbose
 
Constructor Summary
ReceiveFile(String serverHost, int serverPort, String remoteFile, String localFile)
           
 
Method Summary
static void main(String[] fullArgs)
           
 void run()
           
static void usage()
           
 
Methods inherited from class udt.util.Application
configure, parseArg, parseOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReceiveFile

public ReceiveFile(String serverHost,
                   int serverPort,
                   String remoteFile,
                   String localFile)
Method Detail

run

public void run()

main

public static void main(String[] fullArgs)
                 throws Exception
Throws:
Exception

usage

public static void usage()


Copyright © 2013 LittleShoot. All Rights Reserved.