public class IotpFullScenario
extends java.lang.Object
This is equivalent to the IotpSensors
application
but executing as three separate applications using
IotProvider
rather than the lower level
DirectProvider
.
ApplicationServiceMXBean
,
org.apache.edgent.topology.mbeans
Constructor and Description |
---|
IotpFullScenario() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Run the IotpFullScenario application.
|
static void |
registerDisplay(IotProvider provider) |
static void |
registerHeartbeat(IotProvider provider) |
static void |
registerSensors(IotProvider provider) |
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- Must contain the path to the device configuration file.java.lang.Exception
- on failureIotpDevice.IotpDevice(org.apache.edgent.topology.Topology, File)
public static void registerHeartbeat(IotProvider provider)
public static void registerSensors(IotProvider provider)
public static void registerDisplay(IotProvider provider)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641