26#include <QtCore/QString>
44 ConnectionProperty_Autoconnect = 0x1,
45 ConnectionProperty_NonDisconnectable = 0x2
69 bool isRunning() const;
85 void socketDisconnect();
88 bool isSocketConnected() const;
103 unsigned connectionProperties() const;
110 void applyInterPluginConfig(const QVariantMap& props);
117 template <typename TFunc>
118 void setDataReceivedCallback(TFunc&& func)
120 m_dataReceivedCallback = std::forward<TFunc>(func);
128 template <
typename TFunc>
131 m_errorReportCallback = std::forward<TFunc>(func);
139 template <
typename TFunc>
142 m_connectionStatusReportCallback = std::forward<TFunc>(func);
150 template <
typename TFunc>
153 m_interPluginConfigReportCallback = std::forward<TFunc>(func);
240 unsigned m_debugLevel = 0U;
241 bool m_running =
false;
242 bool m_connected =
false;