]> git.basschouten.com Git - openhab-addons.git/blob
f0fbf428997d7891f5c7815ff1667b039a36ed98
[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.plugwise.internal.protocol;
14
15 import static org.openhab.binding.plugwise.internal.protocol.field.MessageType.CLOCK_GET_REQUEST;
16
17 import org.openhab.binding.plugwise.internal.protocol.field.MACAddress;
18
19 /**
20  * Requests the current clock value of a device. This message is answered by a {@link ClockGetResponseMessage} which
21  * contains the clock value.
22  *
23  * @author Wouter Born, Karel Goderis - Initial contribution
24  */
25 public class ClockGetRequestMessage extends Message {
26
27     public ClockGetRequestMessage(MACAddress macAddress) {
28         super(CLOCK_GET_REQUEST, macAddress);
29     }
30 }