mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-12 11:14:46 +01:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user