Module Class
Definition
public class Module extends BaseDevice
- Inheritance
Inherited Members
BaseDevice.getAuthenticationType()
BaseDevice.getCloudToDeviceMessageCount()
BaseDevice.getConnectionState()
BaseDevice.getConnectionStateUpdatedTime()
BaseDevice.getDeviceId()
BaseDevice.getGenerationId()
BaseDevice.getLastActivityTime()
BaseDevice.getPrimaryKey()
BaseDevice.getPrimaryThumbprint()
BaseDevice.getSecondaryKey()
BaseDevice.getSecondaryThumbprint()
BaseDevice.getSymmetricKey()
BaseDevice.geteTag()
BaseDevice.setForceUpdate(Boolean forceUpdate)
BaseDevice.setSymmetricKey(SymmetricKey symmetricKey)
BaseDevice.setThumbprint(String primaryThumbprint, String secondaryThumbprint)
BaseDevice.setThumbprintFinal(String primaryThumbprint, String secondaryThumbprint)
java.lang.Object.clone()
java.lang.Object.equals(java.lang.Object)
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Constructors
| Module(String deviceId, String moduleId, SymmetricKey symmetricKey) |
Create an Module instance using the given module name |
Fields
| 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 |
Methods
| 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 |