public interface CloudCallService
DataTransportService.| Modifier and Type | Method and Description |
|---|---|
KuraResponsePayload |
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 |
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.
|
boolean |
isConnected()
Returns true if the underlying
DataService is currently connected to the remote server. |
KuraResponsePayload call(String appId, String appTopic, KuraPayload appPayload, int timeout) throws KuraConnectException, KuraTimeoutException, KuraStoreException, KuraException
appId - appTopic - appPayload - the application specific payload of an KuraRequestPayload.timeout - KuraConnectExceptionKuraTimeoutExceptionKuraStoreExceptionKuraExceptionKuraResponsePayload call(String deviceId, String appId, String appTopic, KuraPayload appPayload, int timeout) throws KuraConnectException, KuraTimeoutException, KuraStoreException, KuraException
deviceId - appId - appTopic - appPayload - timeout - KuraConnectExceptionKuraTimeoutExceptionKuraStoreExceptionKuraExceptionboolean isConnected()
DataService is currently connected to the remote server.Copyright © 2016. All Rights Reserved.