public class DeviceCommsApp extends AbstractMqttApplication
This is an "application properties" aware client that gets MQTT configuration from an Edgent sample app application configuration properties file.
This client avoids the need for other MQTT clients (e.g., from a mosquitto installation) to observe and control the applications.
props, propsPath, t
Modifier and Type | Method and Description |
---|---|
protected void |
buildTopology(Topology t)
Build the application's topology.
|
static void |
main(java.lang.String[] args) |
commandId, getCommandValueString, mqttDevice, preBuildTopology, sensorEventId
config, handleRuntimeError, run, utils
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
protected void buildTopology(Topology t)
AbstractApplication
buildTopology
in class AbstractApplication
t
- Topology to add toCopyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641