diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-09-11 18:18:25 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-09-11 18:18:25 +0200 |
commit | 89b1f2782ca6a1db9c68b7d642b5a41cc4d56414 (patch) | |
tree | af33b35e372ae3bf4eaef47a24160bf64d9fcdc1 /src/socket_base.hpp | |
parent | 47350adcb6ea48512d732bc323eb1835a5ac9908 (diff) | |
parent | 1a4d6f91194c52795808baa07dcd61a20ff599be (diff) |
Merge branch 'master' of git@github.com:sustrik/zeromq2
Diffstat (limited to 'src/socket_base.hpp')
-rw-r--r-- | src/socket_base.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/socket_base.hpp b/src/socket_base.hpp index 5711dbe..398cd32 100644 --- a/src/socket_base.hpp +++ b/src/socket_base.hpp @@ -38,7 +38,7 @@ namespace zmq { public: - socket_base_t (class app_thread_t *parent_); + socket_base_t (class app_thread_t *parent_, int type_); virtual ~socket_base_t (); // Interface for communication with the API layer. @@ -87,6 +87,9 @@ namespace zmq // fair queueing. bool fetch (struct zmq_msg_t *msg_); + // Type of the socket. + int type; + // List of all I/O objects owned by this socket. The socket is // responsible for deallocating them before it quits. typedef std::set <class owned_t*> io_objects_t; |