Module 类

定义

public class Module extends BaseDevice
继承
java.lang.Object
Module

继承成员

构造函数

Module(String deviceId, String moduleId, SymmetricKey symmetricKey)

Create an Module instance using the given module name

字段

id

Module name A case-sensitive string (up to 128 char long) of ASCII 7-bit alphanumeric chars + {'-', ':', '.', '+', '', '_', '#', '*', '?', '!', '(', ')', ',', '=', '@', ';', '$', '''}.

managedBy

Specifies the module's managed by owner

方法

createFromId(String deviceId, String moduleId, SymmetricKey symmetricKey)

Static create function Creates module object using the given name. If input symmetric key are null then they will be auto generated.

createModule(String deviceId, String moduleId, AuthenticationType authenticationType)

Static create function Creates device object using the given name that will use a Certificate Authority signed certificate for authentication.

getId()

Getter for module name

getManagedBy()

Getter for module's managed by owner

适用于