aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/hicn/transport/core/udp_socket_connector.h
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-04-16 18:38:07 +0200
committerMauro Sardara <msardara@cisco.com>2019-04-18 16:56:04 +0000
commitb375370d0f11163da8cb752c4a3f992a89ef80ee (patch)
treeb34e8d92fb616261209a09b89e3538ea94b4c3c3 /libtransport/src/hicn/transport/core/udp_socket_connector.h
parent564dfea33b993c3ff6572894ef35f91ba37d23ed (diff)
[HICN-178] Sync send of control messages.v19.04
Change-Id: I9a07c6c806ceba10f80a5f67337dce2eee76120d Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'libtransport/src/hicn/transport/core/udp_socket_connector.h')
-rw-r--r--libtransport/src/hicn/transport/core/udp_socket_connector.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libtransport/src/hicn/transport/core/udp_socket_connector.h b/libtransport/src/hicn/transport/core/udp_socket_connector.h
index 87198ef..7c5dbaf 100644
--- a/libtransport/src/hicn/transport/core/udp_socket_connector.h
+++ b/libtransport/src/hicn/transport/core/udp_socket_connector.h
@@ -45,8 +45,6 @@ class UdpSocketConnector : public Connector {
void close() override;
- void enableBurst() override;
-
void connect(std::string ip_address = "127.0.0.1", std::string port = "9695");
private:
@@ -56,6 +54,8 @@ class UdpSocketConnector : public Connector {
void doWrite();
+ void doClose();
+
bool checkConnected();
private:
@@ -70,7 +70,6 @@ class UdpSocketConnector : public Connector {
asio::ip::udp::resolver resolver_;
asio::ip::udp::resolver::iterator endpoint_iterator_;
asio::steady_timer connection_timer_;
- asio::steady_timer connection_timeout_;
utils::ObjectPool<utils::MemBuf>::Ptr read_msg_;