From b3bac1760735703a11297df3d0e2a2e5252aa45e Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 16 Aug 2011 12:44:34 +0200 Subject: tcp_engine renamed to stream engine The engine was not used exclusively for TCP connections. Rather it was used to handle any socket with SOCK_STREAM semantics. The class was renamed to reflect its true function. Signed-off-by: Martin Sustrik --- src/tcp_listener.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tcp_listener.cpp') diff --git a/src/tcp_listener.cpp b/src/tcp_listener.cpp index 406b4d0..dd654b2 100644 --- a/src/tcp_listener.cpp +++ b/src/tcp_listener.cpp @@ -24,7 +24,7 @@ #include "platform.hpp" #include "tcp_listener.hpp" -#include "tcp_engine.hpp" +#include "stream_engine.hpp" #include "io_thread.hpp" #include "session.hpp" #include "config.hpp" @@ -90,7 +90,7 @@ void zmq::tcp_listener_t::in_event () tune_tcp_socket (fd); // Create the engine object for this connection. - tcp_engine_t *engine = new (std::nothrow) tcp_engine_t (fd, options); + stream_engine_t *engine = new (std::nothrow) stream_engine_t (fd, options); alloc_assert (engine); // Choose I/O thread to run connecter in. Given that we are already -- cgit v1.2.3