]> git.basschouten.com Git - openhab-addons.git/blob
ed6b0fcdfb68cbe5ec1558cd2f5a59c23deb8ca5
[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.paradoxalarm.internal.communication;
14
15 import java.util.Collection;
16 import java.util.concurrent.ScheduledExecutorService;
17
18 /**
19  * The {@link IParadoxInitialLoginCommunicator} is representing the functionality of generic communication. Only
20  * login/logout
21  * sequence which is used to determine the Panel type.
22  *
23  * @author Konstantin Polihronov - Initial contribution
24  */
25 public interface IParadoxInitialLoginCommunicator extends IConnectionHandler {
26
27     void startLoginSequence();
28
29     byte[] getPanelInfoBytes();
30
31     void setPanelInfoBytes(byte[] panelInfoBytes);
32
33     /**
34      * @return IP150 connection password
35      */
36     String getPassword();
37
38     byte[] getPcPasswordBytes();
39
40     ScheduledExecutorService getScheduler();
41
42     void setListeners(Collection<IDataUpdateListener> listeners);
43
44     void updateListeners();
45 }