| Package | Description |
|---|---|
| com.ibm.wiotp.sdk.app.messages | |
| com.ibm.wiotp.sdk.codecs | |
| com.ibm.wiotp.sdk.device | |
| com.ibm.wiotp.sdk.gateway |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CommandInterface<T> |
interface |
EventInterface<T> |
| Modifier and Type | Class and Description |
|---|---|
class |
Command<T> |
class |
Event<T>
This class inherits from Message and denotes the device event
This class is immutable and may be made final later on |
| Constructor and Description |
|---|
Command(String typeId,
String deviceId,
String commandId,
String format,
MessageInterface<T> message)
Note that this class does not have a default constructor
|
Event(String typeId,
String deviceId,
String eventId,
String format,
MessageInterface<T> message) |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonMessage |
class |
Utf8Message |
| Modifier and Type | Method and Description |
|---|---|
MessageInterface<T> |
MessageCodec.decode(org.eclipse.paho.client.mqttv3.MqttMessage msg)
Convert an MQTT message into an instance of com.ibm.wiotp.sdk.Message
|
| Constructor and Description |
|---|
Command(String command,
String format,
MessageInterface<T> message)
Note that this class does not have a default constructor
This class has only accessors and no mutators and later on might be made final |
| Constructor and Description |
|---|
Command(String typeId,
String deviceId,
String commandId,
String format,
MessageInterface<T> message)
Note that this class does not have a default constructor
|
Copyright © 2019. All rights reserved.