public interface PCTaskCallback
| Modifier and Type | Method and Description |
|---|---|
default void |
onTaskCancelled()
Called when task returned in
onTaskCreated(PCTask) is cancelled |
default void |
onTaskCreated(PCTask task)
Called when the task encapsulating the network connection is created and can be managed.
|
default void onTaskCreated(PCTask task)
task - PCTask which represents the connection. Never null.
Call PCTasksManager.cancel(PCTask) to stop the task and close network
connectiondefault void onTaskCancelled()
onTaskCreated(PCTask) is cancelled