public interface CloudCallService
DataTransportService
.Modifier and Type | Method and Description |
---|---|
EsfResponsePayload |
call(String appId,
String appTopic,
EsfPayload appPayload,
int timeout)
Sends a local (to this device) request to a Cloudlet application
with the given application ID waiting for the response.
|
EsfResponsePayload |
call(String deviceId,
String appId,
String appTopic,
EsfPayload 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. |
EsfResponsePayload call(String appId, String appTopic, EsfPayload appPayload, int timeout) throws EsfConnectException, EsfTimeoutException, EsfStoreException, EsfException
appId
- appTopic
- appPayload
- the application specific payload of an EsfRequestPayload.timeout
- EsfConnectException
EsfTimeoutException
EsfStoreException
EsfException
EsfResponsePayload call(String deviceId, String appId, String appTopic, EsfPayload appPayload, int timeout) throws EsfConnectException, EsfTimeoutException, EsfStoreException, EsfException
deviceId
- appId
- appTopic
- appPayload
- timeout
- EsfConnectException
EsfTimeoutException
EsfStoreException
EsfException
boolean isConnected()
DataService
is currently connected to the remote server.Copyright © 2013. All Rights Reserved.