From 1a4d6f91194c52795808baa07dcd61a20ff599be Mon Sep 17 00:00:00 2001 From: malosek Date: Fri, 11 Sep 2009 17:58:37 +0200 Subject: added OpenPGM sender - ZMQ_PUB --- src/socket_base.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/socket_base.hpp') 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 io_objects_t; -- cgit v1.2.3