aboutsummaryrefslogtreecommitdiff
path: root/include/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/device.h')
-rw-r--r--include/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h
index 4001d45..5965f99 100644
--- a/include/device.h
+++ b/include/device.h
@@ -52,6 +52,8 @@ public:
*/
virtual int recv(void *packet);
+ bool is_connected();
+
int get_retry_receiving_count() const { return m_retry_receiving_count; };
int get_retry_sending_count() const { return m_retry_sending_count; };
std::chrono::milliseconds get_retry_timeout() const { return m_retry_timeout; };