Device Class

  • java.lang.Object

public class Device extends RegistryIdentity

The Device class extends the RegistryIdentity class implementing constructors and serialization functionality.

Constructor Summary

Constructor Description
Device(String deviceId)

Creates a device using the given id. The device will use Symmetric Key for authentication.

Device(String deviceId, AuthenticationType authenticationType)

Creates a device using the given id. The device will use Symmetric Key for authentication.

Inherited Members

Constructor Details

Device

public Device(String deviceId)

Creates a device using the given id. The device will use Symmetric Key for authentication.

Parameters:

deviceId - String containing the device name.

Device

public Device(String deviceId, AuthenticationType authenticationType)

Creates a device using the given id. The device will use Symmetric Key for authentication.

Parameters:

deviceId - String containing the device name.
authenticationType - the type of authentication that this device will use.

Applies to