summaryrefslogtreecommitdiff
path: root/src/app_thread.hpp
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.hpp
parent9f1f823b7b69ced56bdb0416feef71230cc7fd55 (diff)
redundant interface (i_api) removed
Diffstat (limited to 'src/app_thread.hpp')
-rw-r--r--src/app_thread.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app_thread.hpp b/src/app_thread.hpp
index 59e4a25..e7bbf70 100644
--- a/src/app_thread.hpp
+++ b/src/app_thread.hpp
@@ -56,15 +56,15 @@ namespace zmq
void process_commands (bool block_);
// Create a socket of a specified type.
- struct i_api *create_socket (int type_);
+ class socket_base_t *create_socket (int type_);
// Unregister the socket from the app_thread (called by socket itself).
- void remove_socket (struct i_api *socket_);
+ void remove_socket (class socket_base_t *socket_);
private:
// All the sockets created from this application thread.
- typedef std::vector <struct i_api*> sockets_t;
+ typedef std::vector <class socket_base_t*> sockets_t;
sockets_t sockets;
// Thread ID associated with this slot.