Package | Description |
---|---|
org.eclipse.kura.cloud |
Provides services for managing communications between M2M applications and remote servers.
|
org.eclipse.kura.message |
Defines the recommended payload structure for the messages sent to the Everyware Cloud platform.
|
Modifier and Type | Method and Description |
---|---|
KuraPayload |
CloudPayloadProtoBufDecoder.buildFromByteArray(byte[] payload)
Decodes a Google Protocol Buffers encoded, optionally gzipped, binary payload to a
KuraPayload . |
Modifier and Type | Method and Description |
---|---|
KuraResponsePayload |
CloudCallService.call(String appId,
String appTopic,
KuraPayload appPayload,
int timeout)
Sends a local (to this device) request to a Cloudlet application
with the given application ID waiting for the response.
|
KuraResponsePayload |
CloudCallService.call(String deviceId,
String appId,
String appTopic,
KuraPayload appPayload,
int timeout)
Sends a request to a remote server or device identified by the specified deviceId
and targeting the given application ID waiting for the response.
|
int |
CloudClient.controlPublish(String appTopic,
KuraPayload payload,
int qos,
boolean retain,
int priority)
Publishes a control message to the remote server.
|
int |
CloudClient.controlPublish(String deviceId,
String appTopic,
KuraPayload payload,
int qos,
boolean retain,
int priority)
Publishes a control message to the remote server addressing it to another device.
|
byte[] |
CloudPayloadProtoBufEncoder.getBytes(KuraPayload kuraPayload,
boolean gzipped)
Encodes a
KuraPayload to a Google Protocol Buffers encoded, optionally gzipped, binary payload. |
void |
CloudClientListener.onControlMessageArrived(String deviceId,
String appTopic,
KuraPayload msg,
int qos,
boolean retain)
Called by the CloudClient when it receives a published control message from the broker.
|
void |
Cloudlet.onControlMessageArrived(String deviceId,
String appTopic,
KuraPayload msg,
int qos,
boolean retain) |
void |
CloudClientListener.onMessageArrived(String deviceId,
String appTopic,
KuraPayload msg,
int qos,
boolean retain)
Called by the client when it receives a published data message from the broker.
|
void |
Cloudlet.onMessageArrived(String deviceId,
String appTopic,
KuraPayload msg,
int qos,
boolean retain) |
int |
CloudClient.publish(String appTopic,
KuraPayload payload,
int qos,
boolean retain)
Publishes a message to the remote server using the default priority 5.
|
int |
CloudClient.publish(String appTopic,
KuraPayload payload,
int qos,
boolean retain,
int priority)
Publishes a message to the remote server.
|
Modifier and Type | Class and Description |
---|---|
class |
KuraRequestPayload |
class |
KuraResponsePayload |
Modifier and Type | Method and Description |
---|---|
static KuraRequestPayload |
KuraRequestPayload.buildFromKuraPayload(KuraPayload payload) |
Constructor and Description |
---|
KuraRequestPayload(KuraPayload payload) |
KuraResponsePayload(KuraPayload kuraPayload) |
Copyright © 2014. All Rights Reserved.