edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddebrunner <...@git.apache.org>
Subject [GitHub] incubator-quarks pull request: Rework IotfSensors to separate Hear...
Date Mon, 04 Apr 2016 15:11:08 GMT
Github user ddebrunner commented on a diff in the pull request:

    --- Diff: samples/connectors/src/main/java/quarks/samples/connectors/iotf/IotfSensors.java
    @@ -109,6 +99,31 @@ public static void simulatedSensors(IotDevice device, boolean print)
             // with event identifier "sensors".
             device.events(sensors, "sensors", QoS.FIRE_AND_FORGET);
    +    /**
    +     * Create a heart beat device event with
    +     * identifier {@code heartbeat} to
    +     * ensure there is some immediate output and
    +     * the connection to IoTF happens as soon as possible.
    +     * @param device IoT device
    +     */
    +    public static void heartBeat(IotDevice device, boolean print) {
    --- End diff --
    I guess I'm saying that some applications may have a role for a heartbeat that cannot
be implemented by KA/LWT, in that the heartbeat (not this implementation) can contain up to
date information about a device.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message