org.xnap.plugin.opennap.net
Class OpenNapUploadRunner

java.lang.Object
  extended by org.xnap.plugin.opennap.net.OpenNapUploadRunner
All Implemented Interfaces:
java.lang.Runnable

public class OpenNapUploadRunner
extends java.lang.Object
implements java.lang.Runnable

Uploads a file.


Field Summary
static int CONNECT_TIMEOUT
          Socket timeout during connect.
static int TRANSFER_TIMEOUT
          Abort transfer if stalled for this long.
 
Constructor Summary
OpenNapUploadRunner(OpenNapUpload parent, UploadSocket u)
           
 
Method Summary
 void run()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONNECT_TIMEOUT

public static final int CONNECT_TIMEOUT
Socket timeout during connect.

See Also:
Constant Field Values

TRANSFER_TIMEOUT

public static final int TRANSFER_TIMEOUT
Abort transfer if stalled for this long.

See Also:
Constant Field Values
Constructor Detail

OpenNapUploadRunner

public OpenNapUploadRunner(OpenNapUpload parent,
                           UploadSocket u)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

stop

public void stop()


Copyright © 2001-2005 XNap Team. All Rights Reserved.