Interface TelemetryExecutionContext

    • Method Detail

      • getAuthenticatedDevice

        Device getAuthenticatedDevice()
        Gets the verified identity of the device that the message has been received from which is processed in this context.
        Returns:
        The device or null if the device has not been authenticated.
      • isDeviceAuthenticated

        default boolean isDeviceAuthenticated()
        Determines if the message that is processed in this context has been received from a device whose identity has been verified.
        Returns:
        true if the device has been authenticated or false otherwise.
      • getRequestedQos

        QoS getRequestedQos()
        Gets the QoS level as set in the request by the device.
        Returns:
        The QoS level requested by the device.