]> git.basschouten.com Git - openhab-addons.git/blob
ad7c351e485c1fae4c7c3afadf8d90968559db72
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.paradoxalarm.internal.communication;
14
15 import java.util.List;
16 import java.util.Map;
17
18 import org.openhab.binding.paradoxalarm.internal.model.ZoneStateFlags;
19
20 /**
21  * The {@link IParadoxCommunicator} is representing the functionality of communication implementation.
22  * If another Paradox alarm system is used this interface must be implemented.
23  *
24  * @author Konstantin Polihronov - Initial contribution
25  */
26 public interface IParadoxCommunicator extends IParadoxInitialLoginCommunicator {
27
28     void refreshMemoryMap();
29
30     List<byte[]> getPartitionFlags();
31
32     ZoneStateFlags getZoneStateFlags();
33
34     void executeCommand(String commandAsString);
35
36     Map<Integer, String> getPartitionLabels();
37
38     Map<Integer, String> getZoneLabels();
39
40     void initializeData();
41
42     MemoryMap getMemoryMap();
43 }