Package | Description |
---|---|
org.apache.edgent.apps.iot |
Applications for use in an Internet of Things environment.
|
org.apache.edgent.connectors.iot |
Edgent IoT device and IoT Gateway device connector API to an IoT 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 | Interface and Description |
---|---|
interface |
IotGateway
A generic IoT gateway device IoT hub connector.
|
Modifier and Type | Method and Description |
---|---|
IotDevice |
IotGateway.getIotDevice(java.util.Map<java.lang.String,java.lang.String> deviceIdAttrs)
Get an
IotDevice for a connected device. |
IotDevice |
IotGateway.getIotDevice(java.lang.String deviceId)
Get an
IotDevice for a connected device. |
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
A Device Connector to IBM Watson IoT Platform (WIoTP).
|
class |
IotpGateway
An IoT Gateway Device Connector to IBM Watson IoT Platform (WIoTP).
|
Modifier and Type | Method and Description |
---|---|
IotDevice |
IotpGateway.getIotDevice(java.util.Map<java.lang.String,java.lang.String> deviceIdAttrs)
Get an
IotDevice for a connected device. |
IotDevice |
IotpGateway.getIotDevice(java.lang.String fqDeviceId) |
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 . |
void |
IotProvider.registerTopology(java.lang.String applicationName,
BiConsumer<IotDevice,com.google.gson.JsonObject> builder,
boolean autoSubmit,
com.google.gson.JsonObject config)
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 © 2017 The Apache Software Foundation. All Rights Reserved - 4744f56-20170226-1707