Skip to content

Package: KuraConfigurationEventMessage

KuraConfigurationEventMessage

nameinstructionbranchcomplexitylinemethod
KuraConfigurationEventMessage(KuraConfigurationEventChannel, Date, KuraConfigurationEventPayload)
M: 6 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2016, 2022 Eurotech and/or its affiliates and others
3: *
4: * This program and the accompanying materials are made
5: * available under the terms of the Eclipse Public License 2.0
6: * which is available at https://www.eclipse.org/legal/epl-2.0/
7: *
8: * SPDX-License-Identifier: EPL-2.0
9: *
10: * Contributors:
11: * Eurotech - initial API and implementation
12: * Red Hat Inc
13: *******************************************************************************/
14: package org.eclipse.kapua.service.device.call.message.kura.event.configuration;
15:
16: import org.eclipse.kapua.service.device.call.kura.Kura;
17: import org.eclipse.kapua.service.device.call.kura.model.configuration.KuraDeviceConfiguration;
18: import org.eclipse.kapua.service.device.call.message.app.event.DeviceManagementEventMessage;
19: import org.eclipse.kapua.service.device.call.message.app.notification.DeviceNotifyMessage;
20: import org.eclipse.kapua.service.device.call.message.kura.KuraMessage;
21: import org.eclipse.kapua.service.device.registry.Device;
22:
23: import java.util.Date;
24:
25: /**
26: * {@link KuraDeviceConfiguration} {@link DeviceNotifyMessage} {@link Kura} implementation.
27: * <p>
28: * The {@link KuraConfigurationEventMessage} is sent by the {@link Device} to notify the platform about a {@link KuraDeviceConfiguration} update.
29: *
30: * @since 2.0.0
31: */
32: public class KuraConfigurationEventMessage extends KuraMessage<KuraConfigurationEventChannel, KuraConfigurationEventPayload> implements DeviceManagementEventMessage<KuraConfigurationEventChannel, KuraConfigurationEventPayload> {
33:
34: /**
35: * Constructor.
36: *
37: * @param channel The {@link KuraConfigurationEventChannel}.
38: * @param timestamp The timestamp.
39: * @param payload The {@link KuraConfigurationEventPayload}.
40: * @see org.eclipse.kapua.service.device.call.message.DeviceMessage
41: * @since 2.0.0
42: */
43: public KuraConfigurationEventMessage(KuraConfigurationEventChannel channel, Date timestamp, KuraConfigurationEventPayload payload) {
44: super(channel, timestamp, payload);
45: }
46:
47: }