]> git.basschouten.com Git - openhab-addons.git/blob
bd12709f2b9b484f8998286eee45fc296c641543
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2021 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.unifi.internal.api.model;
14
15 /**
16  * A {@link UniFiWiredClient} represents a wired {@link UniFiClient}.
17  *
18  * A wired client is physically connected to the network - typically it is connected via an Ethernet cable.
19  *
20  * @author Matthew Bowman - Initial contribution
21  */
22 public class UniFiWiredClient extends UniFiClient {
23
24     private String swMac;
25
26     public UniFiWiredClient(UniFiController controller) {
27         super(controller);
28     }
29
30     @Override
31     public Boolean isWired() {
32         return true;
33     }
34
35     @Override
36     public String getDeviceMac() {
37         return swMac;
38     }
39 }