Skip to content

Package: KuraAppsMessage

KuraAppsMessage

nameinstructionbranchcomplexitylinemethod
KuraAppsMessage(KuraAppsChannel, Date, KuraAppsPayload)
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.lifecycle;
15:
16: import org.eclipse.kapua.service.device.call.message.lifecycle.DeviceLifecycleMessage;
17:
18: import java.util.Date;
19:
20: /**
21: * {@link DeviceLifecycleMessage} {@link org.eclipse.kapua.service.device.call.kura.Kura} implementation.
22: * <p>
23: * The {@link KuraAppsMessage} is sent by the {@link org.eclipse.kapua.service.device.registry.Device} to update the platform knowledge about its available features.
24: *
25: * @since 1.0.0
26: */
27: public class KuraAppsMessage extends AbstractKuraAppsBirthMessage<KuraAppsChannel, KuraAppsPayload> implements DeviceLifecycleMessage<KuraAppsChannel, KuraAppsPayload> {
28:
29: /**
30: * Constructor.
31: *
32: * @param channel The {@link KuraAppsChannel}.
33: * @param timestamp The timestamp.
34: * @param payload The {@link KuraAppsPayload}.
35: * @see org.eclipse.kapua.service.device.call.message.DeviceMessage
36: * @since 1.0.0
37: */
38: public KuraAppsMessage(KuraAppsChannel channel, Date timestamp, KuraAppsPayload payload) {
39: super(channel, timestamp, payload);
40: }
41:
42: }