public class PingTask extends NetworkTask implements Retriable
Task.TaskListener| Modifier and Type | Field and Description |
|---|---|
static boolean |
LOG_ENABLED |
DEFAULT_CONNECT_TIMEOUT, DEFAULT_READ_TIMEOUT, DEFAULT_RETRY_COUNT, mBackoffMillis, mConnectTimeout, mMaxRetries, mReadTimeout, mRetries, mStatus, mUrlRETRY_UNLIMITED| Constructor and Description |
|---|
PingTask() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doNetworkTask() |
protected java.lang.String |
getLogTag() |
protected boolean |
ping() |
void |
reset() |
isSucceeded, run, setBackoffMillis, setConnectTimeout, setReadTimeout, setRetryCount, setUrlpublic void reset()
reset in interface Taskreset in class NetworkTaskprotected boolean ping()
protected boolean doNetworkTask()
doNetworkTask in class NetworkTaskprotected java.lang.String getLogTag()
getLogTag in class NetworkTask