|
@@ -14,7 +14,7 @@ public:
|
|
HttpPushNode(const std::string& name, const std::string& ip, int port, const std::string& address)
|
|
HttpPushNode(const std::string& name, const std::string& ip, int port, const std::string& address)
|
|
: BaseNode(name, NODE_TYPE::DES_NODE), ip_(ip), port_(port), address_(address) {}
|
|
: BaseNode(name, NODE_TYPE::DES_NODE), ip_(ip), port_(port), address_(address) {}
|
|
|
|
|
|
- virtual ~HttpPushNode() { };
|
|
|
|
|
|
+ virtual ~HttpPushNode() { stop(); };
|
|
|
|
|
|
inline void set_ip(const std::string& ip) { ip_ = ip; }
|
|
inline void set_ip(const std::string& ip) { ip_ = ip; }
|
|
inline void set_port(int port) { port_ = port; }
|
|
inline void set_port(int port) { port_ = port; }
|