Package | Description |
---|---|
org.apache.edgent.apps.iot |
Applications for use in an Internet of Things environment.
|
org.apache.edgent.connectors.iot |
Edgent device connector API to a message hub.
|
org.apache.edgent.connectors.iotp |
IBM Watson IoT Platform stream connector.
|
org.apache.edgent.connectors.mqtt.iot |
An MQTT based IotDevice connector.
|
org.apache.edgent.providers.iot |
Iot provider that allows multiple applications to
share an
IotDevice . |
org.apache.edgent.samples.connectors.iotp |
Samples showing device events and commands with IBM Watson IoT Platform.
|
org.apache.edgent.test.svt.apps.iotp |
Modifier and Type | Method and Description |
---|---|
static IotDevice |
IotDevicePubSub.addIotDevice(TopologyElement te)
Add a proxy
IotDevice for the topology containing te . |
Modifier and Type | Method and Description |
---|---|
static void |
IotDevicePubSub.createApplication(IotDevice device)
Create an instance of this application using
device as the device
connection to a message hub. |
Modifier and Type | Method and Description |
---|---|
static TStream<com.google.gson.JsonObject> |
HeartBeat.addHeartBeat(IotDevice iotDevice,
long period,
java.util.concurrent.TimeUnit unit,
java.lang.String eventId)
Add IoT device heart beat processing to a topology.
|
Modifier and Type | Class and Description |
---|---|
class |
IotpDevice
Connector for IBM Watson IoT Platform.
|
Modifier and Type | Class and Description |
---|---|
class |
MqttDevice
An MQTT based Edgent
IotDevice connector. |
Modifier and Type | Method and Description |
---|---|
protected IotDevice |
IotProvider.createMessageHubDevice(Topology topology)
Create the connection to the message hub.
|
Modifier and Type | Method and Description |
---|---|
void |
IotProvider.registerTopology(java.lang.String applicationName,
BiConsumer<IotDevice,com.google.gson.JsonObject> builder)
Register an application that uses an
IotDevice . |
Constructor and Description |
---|
IotProvider(Function<Topology,IotDevice> iotDeviceCreator)
Create an
IotProvider that uses its own DirectProvider . |
IotProvider(java.lang.String name,
DirectProvider provider,
Function<Topology,IotDevice> iotDeviceCreator)
Create an
IotProvider that uses the passed in DirectProvider . |
IotProvider(java.lang.String name,
Function<Topology,IotDevice> iotDeviceCreator)
Create an
IotProvider that uses its own DirectProvider . |
IotProvider(java.lang.String name,
TopologyProvider provider,
DirectSubmitter<Topology,Job> submitter,
Function<Topology,IotDevice> iotDeviceCreator)
Create an
IotProvider . |
Modifier and Type | Method and Description |
---|---|
static TStream<java.lang.String> |
IotpSensors.displayMessages(IotDevice device,
boolean print)
Subscribe to IoTP device commands with identifier
display . |
static void |
IotpSensors.heartBeat(IotDevice device,
boolean print)
Create a heart beat device event with
identifier
heartbeat to
ensure there is some immediate output and
the connection to IoTF happens as soon as possible. |
static void |
IotpSensors.simulatedSensors(IotDevice device,
boolean print)
Simulate two bursty sensors and send the readings as IoTF device events
with an identifier of
sensors . |
Modifier and Type | Method and Description |
---|---|
IotDevice |
AbstractIotpApplication.iotDevice()
Get the application's IotDevice
|
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641