Class MapBasedTelemetryExecutionContext

    • Constructor Detail

      • MapBasedTelemetryExecutionContext

        public MapBasedTelemetryExecutionContext​(Device authenticatedDevice)
        Creates a new context for a message received from a device.
        Parameters:
        authenticatedDevice - The authenticated device that has uploaded the message or null if the device has not been authenticated.
    • Method Detail

      • getAuthenticatedDevice

        public final Device getAuthenticatedDevice()
        Gets the verified identity of the device that the message has been received from which is processed in this context.
        Specified by:
        getAuthenticatedDevice in interface TelemetryExecutionContext
        Returns:
        The device or null if the device has not been authenticated.