Skip to content

Package: DeviceManagementEventChannel

DeviceManagementEventChannel

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: *******************************************************************************/
13: package org.eclipse.kapua.service.device.call.message.app.event;
14:
15: import org.eclipse.kapua.service.device.call.message.DeviceChannel;
16:
17: /**
18: * {@link DeviceManagementEventChannel} definition.
19: *
20: * @since 2.0.0
21: */
22: public interface DeviceManagementEventChannel extends DeviceChannel {
23:
24: /**
25: * Gets the device application name.
26: *
27: * @return The device application name.
28: * @since 2.0.0
29: */
30: String getAppName();
31:
32: /**
33: * Sets the device application name.
34: *
35: * @param appName The device application name.
36: * @since 2.0.0
37: */
38: void setAppName(String appName);
39:
40: /**
41: * Gets the device application version.
42: *
43: * @return The device application version.
44: * @since 2.0.0
45: */
46: String getAppVersion();
47:
48: /**
49: * Sets the device application version.
50: *
51: * @param appVersion The device application version.
52: * @since 2.0.0
53: */
54: void setAppVersion(String appVersion);
55:
56: /**
57: * Get the request resources
58: *
59: * @return
60: * @since 2.0.0
61: */
62: String[] getResources();
63:
64: /**
65: * Set the request resources
66: *
67: * @param resources
68: * @since 2.0.0
69: */
70: void setResources(String[] resources);
71:
72: }