John Swinbank
cc25ef9c52
Interface to zmq_proxy()
2013-01-05 15:50:28 +01:00
Pieter Hintjens
127c255d65
Merge pull request #10 from ricnewton/explicit-constructors
...
Make single parameter constructors explicit
2013-01-05 03:22:29 -08:00
Pieter Hintjens
052c656138
Merge pull request #12 from arsenm/master
...
Don't use the deprecated versions of functions
2013-01-05 03:21:38 -08:00
Matt Arsenault
02ceef1727
Use deleted functions if available
2012-12-14 18:38:27 -08:00
Matt Arsenault
36722d9031
Don't use deprecated functions
2012-12-14 18:36:23 -08:00
Richard Newton
72162cecdd
Make single parameter constructors explicit
2012-11-06 18:24:39 +00:00
Pieter Hintjens
90d870b836
Merge pull request #4 from ricnewton/const_data_access
...
Add const data access to message_t
2012-08-28 21:11:02 -07:00
Pieter Hintjens
1a350206fe
Merge pull request #5 from ronelliott/master
...
Added connected helper method.
2012-08-28 21:10:50 -07:00
Pieter Hintjens
bdabaafd63
Merge pull request #6 from ricnewton/context_close
...
Add explicit close method to context_t
2012-08-28 21:10:36 -07:00
Richard Newton
ce3e3e2f9a
Add explicit close method to context_t
2012-08-28 13:49:14 +01:00
Ian Barber
f957e25a3f
Merge pull request #3 from ricnewton/message_move_constructor
...
Add move constructor to message_t
2012-07-31 09:32:53 -07:00
Ron Elliott
ad415995ee
Added 'connected' method to socket_t class.
2012-07-28 10:22:10 -07:00
Richard Newton
2efcdccace
Add const data access to message_t
...
Add a const version of data() and make size() const so we can pass messages around by
const refeference when we only need read-only data access.
2012-07-25 12:20:27 +01:00
Richard Newton
952c382575
Add move constructor to message_t
...
Add move constructor and assignment operator to message_t (but only if compiler supports it).
2012-07-25 12:06:53 +01:00
Martin Sustrik
f1640d2c9d
Revert "Renamed to XS, setctxopt method added"
...
This reverts commit 0f14f299c3
.
2012-03-16 18:11:50 +01:00
Martin Sustrik
0f14f299c3
Renamed to XS, setctxopt method added
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-03-16 18:06:09 +01:00
Pieter Hintjens
e034a4b79c
Merge pull request #1 from thesamet/master
...
Prevent unused variable warning in presence of assertions.
2012-02-14 09:10:59 -08:00
Nadav Samet
0483ee0dfa
Prevent unused variable warning in presence of assertions.
2012-02-13 22:25:13 -08:00
Martin Sustrik
73fd092572
Prevent exception to be thrown in the destructor
...
The only defined error code for zmq_close() is ENOTSOCK
which indicates an error in cppzmq implementation.
It's ok to use assert here instead of throw.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2012-01-31 11:11:34 +09:00
Martin Sustrik
729aaad079
Change the license to MIT
...
The contributors to cppzmq project agreed on changing the license
from LGPL to MIT.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-12-13 16:03:00 +09:00
Botond Ballo
cc98ac8aba
Subject: [PATCH] C++11 move constructor/assignment operator for socket_t and context_t
...
Added a C++11 move constructor and move assignment operator to zmq::socket_t
and zmq::context_t. These functions are only enabled if the compiler supports
C++11 rvalue references. Currently the code can detect rvalue reference
support for the following compilers: GCC, MSVC, clang.
Signed-off-by: Botond Ballo <botond.ballo@gmail.com>
Copyrights and project name adjusted
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-11-19 14:02:16 +01:00
Martin Sustrik
ac1ba21f13
Send and recv with plain buffer as an argument added
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-09-14 12:21:11 +02:00
Martin Sustrik
f5bc62f8c3
Compilation errors with 3.0 fixed
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-05-28 14:38:02 +02:00
Martin Sustrik
9da2598aa0
Update to 3.0 API
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-05-25 18:44:58 +02:00
Martin Sustrik
38bbe08168
Initial version of C++ binding
...
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-05-25 18:42:41 +02:00