io.keen.client.java.AlwaysConnectedNetworkStatusHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of keen-client-java-core Show documentation
Show all versions of keen-client-java-core Show documentation
Java Client Core Library for Keen
The newest version!
package io.keen.client.java;
import io.keen.client.java.KeenNetworkStatusHandler;
/**
* This class implements the KeenNetworkStatusHandler. It always returns true.
*
* @author Simon Murtha Smith
* @since 2.1.0
*/
public class AlwaysConnectedNetworkStatusHandler implements KeenNetworkStatusHandler {
/**
* Default implementation of the isNetworkConnected method.
*
* @return true, always
*/
public boolean isNetworkConnected() {
return true;
}
}