public interface ClientTaskImpl<F>
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Initiate a cancellation of the request
|
F |
executeTask()
Executes the request task
|
boolean |
isCancelled()
Returns if the request has been cancelled
|
void |
postExecute()
Called after the execution of the task
|
void |
preExecute()
Called before the request has been executed
|
void |
transferProgress(Packet packet)
Called when a packet transfer has been made
|
boolean isCancelled()
void cancel()
void preExecute()
@Nullable F executeTask()
void postExecute()
void transferProgress(Packet packet)
packet - The data-wrapper with information about the transfer request