Class IoTCClient

java.lang.Object
com.github.lucadruda.iotc.device.IoTCClient
All Implemented Interfaces:
IIoTCClient

public class IoTCClient extends Object implements IIoTCClient
  • Constructor Details

    • IoTCClient

      public IoTCClient(String deviceId, String scopeId, IOTC_CONNECT authenticationType, Object options, ICentralStorage storage, ILogger logger)
      Parameters:
      deviceId - The device Id
      scopeId - Scope Id of the application
      authenticationType - Type of authentication: It can be Group symmetric key, Device SAS key or x.509
      options - Value for authentication: keys for symmetric and SAS key authentication or x.509 certificate
      storage - An ICentralStorage implementation to cache device credentials
      logger - A custom logger implementing the ILogger interface
    • IoTCClient

      public IoTCClient(String deviceId, String scopeId, IOTC_CONNECT authenticationType, Object options, ICentralStorage storage)
  • Method Details