Module(String deviceId, String moduleId, SymmetricKey symmetricKey) 构造函数
定义
Create an Module instance using the given module name
protected Module(String deviceId, String moduleId, SymmetricKey symmetricKey)
参数
- deviceId
- String
Name of the device (used as device id)
- moduleId
- String
- ame of the module (used as module id)
- symmetricKey
- SymmetricKey
- Device key. If parameter is null, then the key will be auto generated.
例外
IllegalArgumentException
This exception is thrown ifdeviceId
</code> or<code>moduleId
</code> is<code>null
</code> or empty. </p>