@ProviderType
public interface CloudCallService
DataTransportService
.Modifier and Type | Method and Description |
---|---|
KuraResponsePayload |
call(java.lang.String appId,
java.lang.String appTopic,
KuraPayload appPayload,
int timeout)
Deprecated.
Sends a local (to this device) request to a Cloudlet application
with the given application ID waiting for the response.
|
KuraResponsePayload |
call(java.lang.String deviceId,
java.lang.String appId,
java.lang.String appTopic,
KuraPayload appPayload,
int timeout)
Deprecated.
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()
Deprecated.
Returns true if the underlying
DataService is currently connected to the remote server. |
KuraResponsePayload call(java.lang.String appId, java.lang.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(java.lang.String deviceId, java.lang.String appId, java.lang.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.