public interface FileUploadThread
DefaultFileUploadThread. It
allows retries, for network errors. See
UploadPolicy.PROP_RETRY_MAX_NUMBER_OF and
UploadPolicy.PROP_RETRY_NB_SECONDS_BETWEEN for details.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection to the server and releases resources.
|
BlockingQueue<UploadFilePacket> |
getPacketQueue() |
String |
getResponseMsg()
Get the server response message.
|
Thread.State |
getState() |
void |
interrupt()
This method is created in this interface, and is implemented by
DefaultFileUploadThread, as this class is a subclass of
Thread. |
boolean |
isAlive()
This method is created in this interface, and is implemented by
DefaultFileUploadThread, as this class is a subclass of
Thread. |
void |
join()
This method is created in this interface, and is implemented by
DefaultFileUploadThread, as this class is a subclass of
Thread. |
void |
join(long millisec)
This method is created in this interface, and is implemented by
DefaultFileUploadThread, as this class is a subclass of
Thread. |
void |
setFileUploadThreadManager(FileUploadManagerThread fileUploadManagerThread)
Changes the FileUploadManagerThread.
|
void |
start()
This method is created in this interface, and is implemented by
DefaultFileUploadThread, as this class is a subclass of
Thread. |
BlockingQueue<UploadFilePacket> getPacketQueue()
String getResponseMsg()
void close()
Thread.State getState()
Thread.getState()boolean isAlive()
DefaultFileUploadThread, as this class is a subclass of
Thread.Thread.isAlive()void join() throws InterruptedException
DefaultFileUploadThread, as this class is a subclass of
Thread.InterruptedExceptionThread.join()void join(long millisec) throws InterruptedException
DefaultFileUploadThread, as this class is a subclass of
Thread.millisec - InterruptedExceptionThread.join(long)void start()
DefaultFileUploadThread, as this class is a subclass of
Thread.Thread.start()void interrupt()
DefaultFileUploadThread, as this class is a subclass of
Thread.Thread.interrupt()void setFileUploadThreadManager(FileUploadManagerThread fileUploadManagerThread) throws JUploadException
fileUploadManagerThread - JUploadExceptionFileUploadManagerThreadCopyright © 2015. All rights reserved.