summaryrefslogtreecommitdiff
path: root/src/socket_base.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:01:02 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:01:02 +0900
commit061d0df60624bdcef571188fd7c7ecdcadf520eb (patch)
tree65c44005624d3886e75556b2f69e62527a41b497 /src/socket_base.hpp
parent6f32361fea61619fec94348de693a9e3ff8981e0 (diff)
Socket ID added
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/socket_base.hpp')
-rw-r--r--src/socket_base.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/socket_base.hpp b/src/socket_base.hpp
index dda87f4..144eb8d 100644
--- a/src/socket_base.hpp
+++ b/src/socket_base.hpp
@@ -1,5 +1,5 @@
/*
- Copyright (c) 2009-2011 250bpm s.r.o.
+ Copyright (c) 2009-2012 250bpm s.r.o.
Copyright (c) 2007-2009 iMatix Corporation
Copyright (c) 2011 VMware, Inc.
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
@@ -57,7 +57,7 @@ namespace zmq
// Create a socket of a specified type.
static socket_base_t *create (int type_, zmq::ctx_t *parent_,
- uint32_t tid_);
+ uint32_t tid_, int sid_);
// Returns the mailbox associated with this socket.
mailbox_t *get_mailbox ();
@@ -98,7 +98,7 @@ namespace zmq
protected:
- socket_base_t (zmq::ctx_t *parent_, uint32_t tid_);
+ socket_base_t (zmq::ctx_t *parent_, uint32_t tid_, int sid_);
virtual ~socket_base_t ();
// Concrete algorithms for the x- methods are to be defined by