summaryrefslogtreecommitdiff
path: root/src/app_thread.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-08-09 16:30:22 +0200
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-08-09 16:30:22 +0200
commitbda766ab401b6c565fe9c2d0bc80c11bbbe84488 (patch)
tree480bcb26fd6c9dde096d00a3a189d74cd3585942 /src/app_thread.cpp
parent9f1f823b7b69ced56bdb0416feef71230cc7fd55 (diff)
redundant interface (i_api) removed
Diffstat (limited to 'src/app_thread.cpp')
-rw-r--r--src/app_thread.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/app_thread.cpp b/src/app_thread.cpp
index 3f76970..74ba357 100644
--- a/src/app_thread.cpp
+++ b/src/app_thread.cpp
@@ -28,7 +28,6 @@
#endif
#include "app_thread.hpp"
-#include "i_api.hpp"
#include "dispatcher.hpp"
#include "err.hpp"
#include "pipe.hpp"
@@ -130,7 +129,7 @@ void zmq::app_thread_t::process_commands (bool block_)
}
}
-zmq::i_api *zmq::app_thread_t::create_socket (int type_)
+zmq::socket_base_t *zmq::app_thread_t::create_socket (int type_)
{
// TODO: type is ignored for the time being.
socket_base_t *s = new socket_base_t (this);
@@ -139,7 +138,7 @@ zmq::i_api *zmq::app_thread_t::create_socket (int type_)
return s;
}
-void zmq::app_thread_t::remove_socket (i_api *socket_)
+void zmq::app_thread_t::remove_socket (socket_base_t *socket_)
{
// TODO: To speed this up we can possibly use the system where each socket
// holds its index (see I/O scheduler implementation).