]> git.basschouten.com Git - openhab-addons.git/blob
05b51181df0c914bd6ec96a82070032440ca0837
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.loxone.internal.types;
14
15 /**
16  * A state update event. It is used to defer and queue processing of Loxone state updates, so they are not processed in
17  * the websocket thread.
18  *
19  * @author Pawel Pieczul - initial contribution
20  *
21  */
22 public class LxStateUpdate {
23     private final LxUuid uuid;
24     private final Object value;
25
26     public LxStateUpdate(LxUuid uuid, Object value) {
27         this.uuid = uuid;
28         this.value = value;
29     }
30
31     public LxUuid getUuid() {
32         return uuid;
33     }
34
35     public Object getValue() {
36         return value;
37     }
38 }