summaryrefslogtreecommitdiff
path: root/src/ipc_connecter.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-08-16 12:44:34 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-08-16 12:44:34 +0200
commitb3bac1760735703a11297df3d0e2a2e5252aa45e (patch)
tree79da97483bc62d67f8cdf008af2b120b54b77324 /src/ipc_connecter.cpp
parent41457e1ff12dffb62e2dc98cec0be2c5deb79207 (diff)
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 <sustrik@250bpm.com>
Diffstat (limited to 'src/ipc_connecter.cpp')
-rw-r--r--src/ipc_connecter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipc_connecter.cpp b/src/ipc_connecter.cpp
index 4b8f3bf..2862db4 100644
--- a/src/ipc_connecter.cpp
+++ b/src/ipc_connecter.cpp
@@ -25,7 +25,7 @@
#include <new>
#include <string>
-#include "tcp_engine.hpp"
+#include "stream_engine.hpp"
#include "io_thread.hpp"
#include "platform.hpp"
#include "random.hpp"
@@ -99,7 +99,7 @@ void zmq::ipc_connecter_t::out_event ()
}
// 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);
// Attach the engine to the corresponding session object.