All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.keen.client.java.AlwaysConnectedNetworkStatusHandler Maven / Gradle / Ivy

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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy