Package com.github.lucadruda.iotc.device
Class DeviceProvision
java.lang.Object
com.github.lucadruda.iotc.device.DeviceProvision
-
Constructor Summary
ConstructorsConstructorDescriptionDeviceProvision(String deviceId, String scopeId, IOTC_CONNECT authenticationType, Object options, ICentralStorage storage, ILogger logger)
DeviceProvision(String endpoint, String deviceId, String scopeId, IOTC_CONNECT authenticationType, Object options, ICentralStorage storage, ILogger logger)
-
Method Summary
Modifier and TypeMethodDescriptionregister()
register(boolean force)
void
setEndpoint(String endpoint)
void
setIoTCModelId(String modelId)
void
setProtocol(IOTC_PROTOCOL protocol)
-
Constructor Details
-
DeviceProvision
public DeviceProvision(String deviceId, String scopeId, IOTC_CONNECT authenticationType, Object options, ICentralStorage storage, ILogger logger) -
DeviceProvision
public DeviceProvision(String endpoint, String deviceId, String scopeId, IOTC_CONNECT authenticationType, Object options, ICentralStorage storage, ILogger logger)
-
-
Method Details
-
setIoTCModelId
-
setProtocol
-
register
- Throws:
IoTCentralException
-
register
- Throws:
IoTCentralException
-
setEndpoint
-