aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/hicn/transport/interfaces/socket_consumer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtransport/src/hicn/transport/interfaces/socket_consumer.h')
-rw-r--r--libtransport/src/hicn/transport/interfaces/socket_consumer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libtransport/src/hicn/transport/interfaces/socket_consumer.h b/libtransport/src/hicn/transport/interfaces/socket_consumer.h
index eceee2d34..0f83fd38f 100644
--- a/libtransport/src/hicn/transport/interfaces/socket_consumer.h
+++ b/libtransport/src/hicn/transport/interfaces/socket_consumer.h
@@ -159,6 +159,11 @@ class ConsumerSocket : public BaseSocket {
void connect() override;
/**
+ * @brief Check whether consumer socket is active or not.
+ */
+ bool isRunning() override { return transport_protocol_->isRunning(); }
+
+ /**
* Retrieve a content using the protocol specified in the constructor.
* This function blocks until the whole content is downloaded.
* For monitoring the status of the download, the application MUST set the