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
- KuraConnectException
KuraTimeoutException
KuraStoreException
KuraException
KuraResponsePayload call(String deviceId, String appId, String appTopic, KuraPayload appPayload, int timeout) throws KuraConnectException, KuraTimeoutException, KuraStoreException, KuraException
deviceId
- appId
- appTopic
- appPayload
- timeout
- KuraConnectException
KuraTimeoutException
KuraStoreException
KuraException
boolean isConnected()
DataService
is currently connected to the remote server.Copyright © 2014. All Rights Reserved.