face: Remove unnecessary use of DNS resolver in (Udp|Tcp|WebSocket)Factory
Change-Id: Idbc743fe4c7d567a09acccef98fe6de26f8295f0
Refs: #2422
diff --git a/daemon/face/websocket-factory.hpp b/daemon/face/websocket-factory.hpp
index d3a6324..eec0e60 100644
--- a/daemon/face/websocket-factory.hpp
+++ b/daemon/face/websocket-factory.hpp
@@ -70,12 +70,15 @@
createChannel(const websocket::Endpoint& localEndpoint);
/**
- * \brief Create WebSocket-based channel using specified ip address and port number
+ * \brief Create WebSocket-based channel using specified IP address and port number
+ *
+ * This method is just a helper that converts a string representation of localIp and port to
+ * websocket::Endpoint and calls the other createChannel overload.
*
* \throws WebSocketFactory::Error
*/
shared_ptr<WebSocketChannel>
- createChannel(const std::string& ipAddress, const std::string& port);
+ createChannel(const std::string& localIp, const std::string& port);
// from Factory
virtual void