Package | Description |
---|---|
org.eclipse.kura.data |
Provides services for connecting and communicating with a MQTT broker.
|
Modifier and Type | Method and Description |
---|---|
DataTransportToken |
DataTransportService.publish(String topic,
byte[] payload,
int qos,
boolean retain)
Enqueues a message for publishing with the underlying transport implementation.
|
void |
DataTransportService.subscribe(String topic,
int qos)
Subscribes to a topic on the broker.
|
void |
DataService.subscribe(String topic,
int qos)
Subscribes to the specified topic with the remote server.
|
void |
DataTransportService.unsubscribe(String topic)
Unsubscribes to a topic on the broker.
|
void |
DataService.unsubscribe(String topic)
Unubscribes to the specified topic with the remote server.
|
Copyright © 2014. All Rights Reserved.