client.net.transfer
Class FileSender
java.lang.Object
client.net.transfer.FileTransferer
client.net.transfer.FileSender
- All Implemented Interfaces:
- java.lang.Runnable
public class FileSender
- extends FileTransferer
- implements java.lang.Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SENDING
public static final int SENDING
- See Also:
- Constant Field Values
SEND_COMPLETED
public static final int SEND_COMPLETED
- See Also:
- Constant Field Values
INTERRUPTED
public static final int INTERRUPTED
- See Also:
- Constant Field Values
CANNOT_START
public static final int CANNOT_START
- See Also:
- Constant Field Values
PAUSED
public static final int PAUSED
- See Also:
- Constant Field Values
FileSender
public FileSender(java.net.Socket s,
java.io.OutputStream os,
java.io.InputStream is,
org.w3c.dom.Document doc,
Profile profile,
InfoProvider infoProvider,
TransferManager transferManager)
pause
public void pause()
continuE
public void continuE()
resume
public void resume()
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
getProgress
public long getProgress()
getFileSize
public long getFileSize()
getFileName
public java.lang.String getFileName()
getState
public int getState()
getMessage
protected java.lang.String getMessage(int type)
- Specified by:
getMessage
in class FileTransferer