udt.util
Class TestServerSocket

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

public class TestServerSocket
extends Application

helper application for sending 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.SendFile


Nested Class Summary
static class TestServerSocket.RequestRunner
           
 
Field Summary
 
Fields inherited from class udt.util.Application
localIP, localPort, verbose
 
Constructor Summary
TestServerSocket(int serverPort)
           
 
Method Summary
 void configure()
           
static void main(String[] fullArgs)
          main() method for invoking as a commandline application
 void run()
           
static void usage()
           
 
Methods inherited from class udt.util.Application
parseArg, parseOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestServerSocket

public TestServerSocket(int serverPort)
Method Detail

configure

public void configure()
Overrides:
configure in class Application

run

public void run()

main

public static void main(String[] fullArgs)
                 throws Exception
main() method for invoking as a commandline application

Parameters:
args -
Throws:
Exception

usage

public static void usage()


Copyright © 2013 LittleShoot. All Rights Reserved.