Package org.correomqtt.core.concurrent
Class SimpleProgressTask<P>
java.lang.Object
org.correomqtt.core.concurrent.SimpleProgressTask<P>
- Direct Known Subclasses:
ConnectTask
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
errorHook
(SimpleTaskErrorResult errorResult) protected abstract void
execute()
protected void
onError
(TaskErrorResultListener<SimpleTaskErrorResult> listener) onFinally
(FinallyListener listener) onProgress
(ProgressListener<P> listener) onStarted
(StartListener listener) onSuccess
(SimpleSuccessListener listener) protected void
reportProgress
(P progress) run()
protected void
-
Field Details
-
soyEvents
-
-
Constructor Details
-
SimpleProgressTask
-
-
Method Details
-
onStarted
-
onProgress
-
onSuccess
-
onError
-
onFinally
-
reportProgress
-
execute
protected abstract void execute() -
beforeHook
protected void beforeHook() -
successHook
protected void successHook() -
errorHook
-
finalHook
protected void finalHook() -
run
-