Search in sources :

Example 1 with EndPoints

use of com.arm.mbed.cloud.sdk.connect.model.EndPoints in project mbed-cloud-sdk-java by ARMmbed.

the class NotificationHandlersStore method createNotificationPull.

private EndPoints createNotificationPull(EndPoints endpoint2) {
    if (endpoint2 == null) {
        return null;
    }
    final ConnectionOptions options = endpoint2.getConnectionOptions();
    options.setRequestTimeout(REQUEST_TIMEOUT);
    return new EndPoints(options);
}
Also used : ConnectionOptions(com.arm.mbed.cloud.sdk.common.ConnectionOptions) EndPoints(com.arm.mbed.cloud.sdk.connect.model.EndPoints)

Aggregations

ConnectionOptions (com.arm.mbed.cloud.sdk.common.ConnectionOptions)1 EndPoints (com.arm.mbed.cloud.sdk.connect.model.EndPoints)1