face: deduplicate callback typedefs between Channel and ProtocolFactory
This should have been part of commit 1d7e7afd381b91b6194d516826294b7f41f78745
Change-Id: I61623152180d4df288fc7dd3c225518e438d2bda
Refs: #3258
diff --git a/daemon/face/unix-stream-channel.hpp b/daemon/face/unix-stream-channel.hpp
index 06be812..fbddbe2 100644
--- a/daemon/face/unix-stream-channel.hpp
+++ b/daemon/face/unix-stream-channel.hpp
@@ -72,7 +72,7 @@
*/
void
listen(const FaceCreatedCallback& onFaceCreated,
- const ConnectFailedCallback& onAcceptFailed,
+ const FaceCreationFailedCallback& onAcceptFailed,
int backlog = boost::asio::local::stream_protocol::acceptor::max_connections);
bool
@@ -81,12 +81,12 @@
private:
void
accept(const FaceCreatedCallback& onFaceCreated,
- const ConnectFailedCallback& onAcceptFailed);
+ const FaceCreationFailedCallback& onAcceptFailed);
void
handleAccept(const boost::system::error_code& error,
const FaceCreatedCallback& onFaceCreated,
- const ConnectFailedCallback& onAcceptFailed);
+ const FaceCreationFailedCallback& onAcceptFailed);
private:
unix_stream::Endpoint m_endpoint;