1#ifndef H_EXTENSIONS_CUTEHMI_MODBUS_4_INCLUDE_CUTEHMI_MODBUS_DUMMYCLIENT_HPP
2#define H_EXTENSIONS_CUTEHMI_MODBUS_4_INCLUDE_CUTEHMI_MODBUS_DUMMYCLIENT_HPP
4#include "internal/common.hpp"
5#include "internal/DummyClientConfig.hpp"
6#include "internal/DummyClientBackend.hpp"
7#include "internal/PollingIterator.hpp"
8#include "AbstractClient.hpp"
35 Q_PROPERTY(
int connectLatency READ connectLatency WRITE setConnectLatency NOTIFY connectLatencyChanged)
36 Q_PROPERTY(
int disconnectLatency READ disconnectLatency WRITE setDisconnectLatency NOTIFY disconnectLatencyChanged)
37 Q_PROPERTY(
int latency READ latency WRITE setLatency NOTIFY latencyChanged)
43 int connectLatency()
const;
45 void setConnectLatency(
int connectLatency);
47 int disconnectLatency()
const;
49 void setDisconnectLatency(
int disconnectLatency);
53 void setLatency(
int latency);
55 int timeout()
const override;
57 void setTimeout(
int timeout)
override;
62 void close()
override;
Abstract client.
Definition: AbstractClient.hpp:32
Dummy client.
Definition: DummyClient.hpp:26
void disconnectLatencyChanged()
void connectLatencyChanged()
Definition: DummyClientBackend.hpp:14
Definition: DummyClientConfig.hpp:15
static constexpr int INITIAL_LATENCY
Definition: DummyClientConfig.hpp:21
static constexpr int INITIAL_CLOSE_LATENCY
Definition: DummyClientConfig.hpp:20
static constexpr int INITIAL_OPEN_LATENCY
Definition: DummyClientConfig.hpp:19