]> git.basschouten.com Git - openhab-addons.git/blob
dc53e7201089b5abb47f91dee4695720adb5bca7
[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 org.openhab.binding.paradoxalarm.internal.communication.messages.IPPacket;
16
17 /**
18  * The {@link IRequest} - interface definition for the request used in the communication.
19  *
20  * @author Konstantin Polihronov - Initial contribution
21  */
22 public interface IRequest {
23
24     IResponseReceiver getResponseReceiver();
25
26     IPPacket getRequestPacket();
27
28     void setTimeStamp();
29
30     boolean isTimeStampExpired(long expirationTreshold);
31
32     RequestType getType();
33 }