All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arm.mbed.cloud.sdk.common.AbstractEndpoints Maven / Gradle / Ivy

Go to download

The Pelion Cloud SDK (formerly known as Mbed Cloud SDK) provides a simplified interface to the Pelion Cloud APIs by exposing functionality using conventions and paradigms familiar to Java developers.

There is a newer version: 2.5.0
Show newest version
package com.arm.mbed.cloud.sdk.common;

import com.arm.mbed.cloud.sdk.annotations.Internal;
import com.arm.mbed.cloud.sdk.annotations.Preamble;

@Preamble(description = "Generic endpoints")
@Internal
public class AbstractEndpoints {

    private final ApiClientWrapper client;

    /**
     * Constructor.
     * 
     * @param wrapper
     *            API client {@link ApiClientWrapper}.
     */
    public AbstractEndpoints(ApiClientWrapper wrapper) {
        super();
        client = wrapper;
    }

    /**
     * Constructor.
     * 
     * @param options
     *            connection options {@link ConnectionOptions}
     */
    public AbstractEndpoints(ConnectionOptions options) {
        this(new ApiClientWrapper(options));
    }

    /**
     * Gets Mbed Cloud client.
     * 
     * @return the client
     */
    public ApiClientWrapper getClient() {
        return client;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy