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, mUrl
RETRY_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, setUrl
public void reset()
reset
in interface Task
reset
in class NetworkTask
protected boolean ping()
protected boolean doNetworkTask()
doNetworkTask
in class NetworkTask
protected java.lang.String getLogTag()
getLogTag
in class NetworkTask