summaryrefslogtreecommitdiff
path: root/src/socket_base.hpp
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-09-11 17:58:37 +0200
committermalosek <malosek@fastmq.com>2009-09-11 17:58:37 +0200
commit1a4d6f91194c52795808baa07dcd61a20ff599be (patch)
tree9e5a59750b32f90a862a47c88d79653c4a75f12f /src/socket_base.hpp
parente940878b3f8ff332df534c4df463cfdf085cc787 (diff)
added OpenPGM sender - ZMQ_PUB
Diffstat (limited to 'src/socket_base.hpp')
-rw-r--r--src/socket_base.hpp5
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;