You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by dl...@apache.org on 2017/03/02 13:56:48 UTC

[2/3] incubator-edgent git commit: more tweaks

more tweaks

Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent/commit/c97ee1e2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent/tree/c97ee1e2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent/diff/c97ee1e2

Branch: refs/heads/master
Commit: c97ee1e2c8dba09a8075a92ec64da1bb1be641ad
Parents: 560e2fd
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Tue Feb 28 14:22:14 2017 -0500
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Tue Feb 28 14:22:14 2017 -0500

----------------------------------------------------------------------
 .../java/org/apache/edgent/connectors/mqtt/iot/MqttDevice.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent/blob/c97ee1e2/connectors/mqtt/src/main/java/org/apache/edgent/connectors/mqtt/iot/MqttDevice.java
----------------------------------------------------------------------
diff --git a/connectors/mqtt/src/main/java/org/apache/edgent/connectors/mqtt/iot/MqttDevice.java b/connectors/mqtt/src/main/java/org/apache/edgent/connectors/mqtt/iot/MqttDevice.java
index 24d26ba..c038327 100644
--- a/connectors/mqtt/src/main/java/org/apache/edgent/connectors/mqtt/iot/MqttDevice.java
+++ b/connectors/mqtt/src/main/java/org/apache/edgent/connectors/mqtt/iot/MqttDevice.java
@@ -46,8 +46,10 @@ import com.google.gson.JsonObject;
  * Device MQTT "event" and "command" topics though default
  * patterns are provided.
  * <p>
- * The MQTT message content for device events and device messages must be JSON,
- * but the contents of the JSON are under the control of the collaborating MQTT clients.
+ * The MQTT message content for device events and device commands must be JSON.
+ * The contents of the JSON are under the control of the collaborating MQTT clients.
+ * Typically a device to defines its event and command schemas
+ * and the other clients to adapt accordingly.
  * See {@link #commands(String...)} and {@link #events(TStream, String, int) events()}
  * for a description of how MQTT messages are converted to and from stream tuples.
  * <p>