libzmq 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +703 -0
- data/README.md +31 -0
- data/lib/libzmq.rb +17 -0
- data/lib/libzmq/ffi-rzmq.rb +3 -0
- data/libzmq/Makefile +5 -0
- data/libzmq/extconf.rb +24 -0
- data/libzmq/zeromq-2.1.7/AUTHORS +92 -0
- data/libzmq/zeromq-2.1.7/COPYING +674 -0
- data/libzmq/zeromq-2.1.7/COPYING.LESSER +206 -0
- data/libzmq/zeromq-2.1.7/ChangeLog +15620 -0
- data/libzmq/zeromq-2.1.7/INSTALL +237 -0
- data/libzmq/zeromq-2.1.7/MAINTAINERS +56 -0
- data/libzmq/zeromq-2.1.7/Makefile.am +42 -0
- data/libzmq/zeromq-2.1.7/Makefile.in +779 -0
- data/libzmq/zeromq-2.1.7/NEWS +275 -0
- data/libzmq/zeromq-2.1.7/README +39 -0
- data/libzmq/zeromq-2.1.7/acinclude.m4 +582 -0
- data/libzmq/zeromq-2.1.7/aclocal.m4 +1206 -0
- data/libzmq/zeromq-2.1.7/autogen.sh +45 -0
- data/libzmq/zeromq-2.1.7/builds/msvc/Makefile.am +8 -0
- data/libzmq/zeromq-2.1.7/builds/msvc/Makefile.in +390 -0
- data/libzmq/zeromq-2.1.7/builds/msvc/c_local_lat/c_local_lat.vcproj +176 -0
- data/libzmq/zeromq-2.1.7/builds/msvc/c_local_thr/c_local_thr.vcproj +176 -0
- data/libzmq/zeromq-2.1.7/builds/msvc/c_remote_lat/c_remote_lat.vcproj +176 -0
- data/libzmq/zeromq-2.1.7/builds/msvc/c_remote_thr/c_remote_thr.vcproj +176 -0
- data/libzmq/zeromq-2.1.7/builds/msvc/libzmq/libzmq.vcproj +783 -0
- data/libzmq/zeromq-2.1.7/builds/msvc/msvc.sln +89 -0
- data/libzmq/zeromq-2.1.7/builds/msvc/platform.hpp +32 -0
- data/libzmq/zeromq-2.1.7/builds/redhat/zeromq.spec.in +139 -0
- data/libzmq/zeromq-2.1.7/config/compile +143 -0
- data/libzmq/zeromq-2.1.7/config/config.guess +1502 -0
- data/libzmq/zeromq-2.1.7/config/config.sub +1714 -0
- data/libzmq/zeromq-2.1.7/config/depcomp +630 -0
- data/libzmq/zeromq-2.1.7/config/install-sh +520 -0
- data/libzmq/zeromq-2.1.7/config/libtool.m4 +7377 -0
- data/libzmq/zeromq-2.1.7/config/ltmain.sh +8413 -0
- data/libzmq/zeromq-2.1.7/config/ltoptions.m4 +368 -0
- data/libzmq/zeromq-2.1.7/config/ltsugar.m4 +123 -0
- data/libzmq/zeromq-2.1.7/config/ltversion.m4 +23 -0
- data/libzmq/zeromq-2.1.7/config/lt~obsolete.m4 +92 -0
- data/libzmq/zeromq-2.1.7/config/missing +376 -0
- data/libzmq/zeromq-2.1.7/configure +21645 -0
- data/libzmq/zeromq-2.1.7/configure.in +380 -0
- data/libzmq/zeromq-2.1.7/doc/Makefile.am +46 -0
- data/libzmq/zeromq-2.1.7/doc/Makefile.in +546 -0
- data/libzmq/zeromq-2.1.7/doc/asciidoc.conf +56 -0
- data/libzmq/zeromq-2.1.7/doc/zmq.7 +242 -0
- data/libzmq/zeromq-2.1.7/doc/zmq.html +846 -0
- data/libzmq/zeromq-2.1.7/doc/zmq.txt +218 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_bind.3 +166 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_bind.html +746 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_bind.txt +91 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_close.3 +81 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_close.html +645 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_close.txt +52 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_connect.3 +161 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_connect.html +732 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_connect.txt +89 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_cpp.7 +410 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_cpp.html +765 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_cpp.txt +212 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_device.3 +140 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_device.html +736 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_device.txt +138 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_epgm.7 +209 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_epgm.html +749 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_epgm.txt +162 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_errno.3 +78 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_errno.html +634 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_errno.txt +50 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_getsockopt.3 +944 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_getsockopt.html +1713 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_getsockopt.txt +407 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_init.3 +71 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_init.html +635 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_init.txt +51 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_inproc.7 +115 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_inproc.html +669 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_inproc.txt +89 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_ipc.7 +109 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_ipc.html +662 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_ipc.txt +80 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_close.3 +81 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_close.html +647 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_close.txt +55 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_copy.3 +95 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_copy.html +656 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_copy.txt +57 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_data.3 +76 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_data.html +633 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_data.txt +48 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_init.3 +110 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_init.html +656 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_init.txt +65 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_init_data.3 +138 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_init_data.html +678 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_init_data.txt +83 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_init_size.3 +97 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_init_size.html +656 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_init_size.txt +58 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_move.3 +79 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_move.html +645 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_move.txt +52 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_size.3 +76 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_size.html +633 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_msg_size.txt +48 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_pgm.7 +209 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_pgm.html +749 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_pgm.txt +162 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_poll.3 +204 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_poll.html +755 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_poll.txt +132 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_recv.3 +172 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_recv.html +746 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_recv.txt +121 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_send.3 +185 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_send.html +755 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_send.txt +120 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_setsockopt.3 +878 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_setsockopt.html +1603 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_setsockopt.txt +382 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_socket.3 +779 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_socket.html +1424 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_socket.txt +342 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_strerror.3 +78 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_strerror.html +634 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_strerror.txt +55 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_tcp.7 +244 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_tcp.html +755 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_tcp.txt +162 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_term.3 +135 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_term.html +672 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_term.txt +65 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_version.3 +78 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_version.html +632 -0
- data/libzmq/zeromq-2.1.7/doc/zmq_version.txt +53 -0
- data/libzmq/zeromq-2.1.7/foreign/openpgm/Makefile.am +8 -0
- data/libzmq/zeromq-2.1.7/foreign/openpgm/Makefile.in +588 -0
- data/libzmq/zeromq-2.1.7/foreign/openpgm/libpgm-5.1.115~dfsg.tar.gz +0 -0
- data/libzmq/zeromq-2.1.7/foreign/xmlParser/xmlParser.cpp +2923 -0
- data/libzmq/zeromq-2.1.7/foreign/xmlParser/xmlParser.hpp +762 -0
- data/libzmq/zeromq-2.1.7/include/zmq.h +269 -0
- data/libzmq/zeromq-2.1.7/include/zmq.hpp +301 -0
- data/libzmq/zeromq-2.1.7/include/zmq_utils.h +64 -0
- data/libzmq/zeromq-2.1.7/perf/Makefile.am +21 -0
- data/libzmq/zeromq-2.1.7/perf/Makefile.in +566 -0
- data/libzmq/zeromq-2.1.7/perf/inproc_lat.cpp +232 -0
- data/libzmq/zeromq-2.1.7/perf/inproc_thr.cpp +246 -0
- data/libzmq/zeromq-2.1.7/perf/local_lat.cpp +108 -0
- data/libzmq/zeromq-2.1.7/perf/local_thr.cpp +138 -0
- data/libzmq/zeromq-2.1.7/perf/remote_lat.cpp +121 -0
- data/libzmq/zeromq-2.1.7/perf/remote_thr.cpp +104 -0
- data/libzmq/zeromq-2.1.7/src/Makefile.am +155 -0
- data/libzmq/zeromq-2.1.7/src/Makefile.in +1320 -0
- data/libzmq/zeromq-2.1.7/src/array.hpp +147 -0
- data/libzmq/zeromq-2.1.7/src/atomic_counter.hpp +164 -0
- data/libzmq/zeromq-2.1.7/src/atomic_ptr.hpp +159 -0
- data/libzmq/zeromq-2.1.7/src/blob.hpp +34 -0
- data/libzmq/zeromq-2.1.7/src/clock.cpp +118 -0
- data/libzmq/zeromq-2.1.7/src/clock.hpp +60 -0
- data/libzmq/zeromq-2.1.7/src/command.cpp +39 -0
- data/libzmq/zeromq-2.1.7/src/command.hpp +147 -0
- data/libzmq/zeromq-2.1.7/src/config.hpp +88 -0
- data/libzmq/zeromq-2.1.7/src/connect_session.cpp +119 -0
- data/libzmq/zeromq-2.1.7/src/connect_session.hpp +65 -0
- data/libzmq/zeromq-2.1.7/src/ctx.cpp +322 -0
- data/libzmq/zeromq-2.1.7/src/ctx.hpp +159 -0
- data/libzmq/zeromq-2.1.7/src/decoder.cpp +129 -0
- data/libzmq/zeromq-2.1.7/src/decoder.hpp +207 -0
- data/libzmq/zeromq-2.1.7/src/device.cpp +120 -0
- data/libzmq/zeromq-2.1.7/src/device.hpp +32 -0
- data/libzmq/zeromq-2.1.7/src/devpoll.cpp +190 -0
- data/libzmq/zeromq-2.1.7/src/devpoll.hpp +100 -0
- data/libzmq/zeromq-2.1.7/src/dist.cpp +200 -0
- data/libzmq/zeromq-2.1.7/src/dist.hpp +90 -0
- data/libzmq/zeromq-2.1.7/src/encoder.cpp +90 -0
- data/libzmq/zeromq-2.1.7/src/encoder.hpp +184 -0
- data/libzmq/zeromq-2.1.7/src/epoll.cpp +177 -0
- data/libzmq/zeromq-2.1.7/src/epoll.hpp +96 -0
- data/libzmq/zeromq-2.1.7/src/err.cpp +238 -0
- data/libzmq/zeromq-2.1.7/src/err.hpp +145 -0
- data/libzmq/zeromq-2.1.7/src/fd.hpp +45 -0
- data/libzmq/zeromq-2.1.7/src/fq.cpp +164 -0
- data/libzmq/zeromq-2.1.7/src/fq.hpp +80 -0
- data/libzmq/zeromq-2.1.7/src/i_engine.hpp +53 -0
- data/libzmq/zeromq-2.1.7/src/i_inout.hpp +50 -0
- data/libzmq/zeromq-2.1.7/src/i_poll_events.hpp +46 -0
- data/libzmq/zeromq-2.1.7/src/io_object.cpp +107 -0
- data/libzmq/zeromq-2.1.7/src/io_object.hpp +78 -0
- data/libzmq/zeromq-2.1.7/src/io_thread.cpp +109 -0
- data/libzmq/zeromq-2.1.7/src/io_thread.hpp +88 -0
- data/libzmq/zeromq-2.1.7/src/ip.cpp +339 -0
- data/libzmq/zeromq-2.1.7/src/ip.hpp +68 -0
- data/libzmq/zeromq-2.1.7/src/kqueue.cpp +194 -0
- data/libzmq/zeromq-2.1.7/src/kqueue.hpp +103 -0
- data/libzmq/zeromq-2.1.7/src/lb.cpp +174 -0
- data/libzmq/zeromq-2.1.7/src/lb.hpp +79 -0
- data/libzmq/zeromq-2.1.7/src/libzmq.pc.in +10 -0
- data/libzmq/zeromq-2.1.7/src/likely.hpp +33 -0
- data/libzmq/zeromq-2.1.7/src/mailbox.cpp +382 -0
- data/libzmq/zeromq-2.1.7/src/mailbox.hpp +62 -0
- data/libzmq/zeromq-2.1.7/src/msg_content.hpp +52 -0
- data/libzmq/zeromq-2.1.7/src/mutex.hpp +121 -0
- data/libzmq/zeromq-2.1.7/src/named_session.cpp +85 -0
- data/libzmq/zeromq-2.1.7/src/named_session.hpp +57 -0
- data/libzmq/zeromq-2.1.7/src/object.cpp +467 -0
- data/libzmq/zeromq-2.1.7/src/object.hpp +127 -0
- data/libzmq/zeromq-2.1.7/src/options.cpp +336 -0
- data/libzmq/zeromq-2.1.7/src/options.hpp +87 -0
- data/libzmq/zeromq-2.1.7/src/own.cpp +214 -0
- data/libzmq/zeromq-2.1.7/src/own.hpp +140 -0
- data/libzmq/zeromq-2.1.7/src/pair.cpp +180 -0
- data/libzmq/zeromq-2.1.7/src/pair.hpp +76 -0
- data/libzmq/zeromq-2.1.7/src/pgm_receiver.cpp +259 -0
- data/libzmq/zeromq-2.1.7/src/pgm_receiver.hpp +129 -0
- data/libzmq/zeromq-2.1.7/src/pgm_sender.cpp +215 -0
- data/libzmq/zeromq-2.1.7/src/pgm_sender.hpp +105 -0
- data/libzmq/zeromq-2.1.7/src/pgm_socket.cpp +705 -0
- data/libzmq/zeromq-2.1.7/src/pgm_socket.hpp +118 -0
- data/libzmq/zeromq-2.1.7/src/pipe.cpp +409 -0
- data/libzmq/zeromq-2.1.7/src/pipe.hpp +214 -0
- data/libzmq/zeromq-2.1.7/src/platform.hpp.in +228 -0
- data/libzmq/zeromq-2.1.7/src/poll.cpp +180 -0
- data/libzmq/zeromq-2.1.7/src/poll.hpp +104 -0
- data/libzmq/zeromq-2.1.7/src/poller.hpp +73 -0
- data/libzmq/zeromq-2.1.7/src/poller_base.cpp +99 -0
- data/libzmq/zeromq-2.1.7/src/poller_base.hpp +84 -0
- data/libzmq/zeromq-2.1.7/src/pub.cpp +31 -0
- data/libzmq/zeromq-2.1.7/src/pub.hpp +44 -0
- data/libzmq/zeromq-2.1.7/src/pull.cpp +61 -0
- data/libzmq/zeromq-2.1.7/src/pull.hpp +60 -0
- data/libzmq/zeromq-2.1.7/src/push.cpp +62 -0
- data/libzmq/zeromq-2.1.7/src/push.hpp +59 -0
- data/libzmq/zeromq-2.1.7/src/reaper.cpp +121 -0
- data/libzmq/zeromq-2.1.7/src/reaper.hpp +77 -0
- data/libzmq/zeromq-2.1.7/src/rep.cpp +131 -0
- data/libzmq/zeromq-2.1.7/src/rep.hpp +59 -0
- data/libzmq/zeromq-2.1.7/src/req.cpp +121 -0
- data/libzmq/zeromq-2.1.7/src/req.hpp +58 -0
- data/libzmq/zeromq-2.1.7/src/select.cpp +211 -0
- data/libzmq/zeromq-2.1.7/src/select.hpp +116 -0
- data/libzmq/zeromq-2.1.7/src/semaphore.hpp +189 -0
- data/libzmq/zeromq-2.1.7/src/session.cpp +347 -0
- data/libzmq/zeromq-2.1.7/src/session.hpp +150 -0
- data/libzmq/zeromq-2.1.7/src/socket_base.cpp +811 -0
- data/libzmq/zeromq-2.1.7/src/socket_base.hpp +207 -0
- data/libzmq/zeromq-2.1.7/src/stdint.hpp +63 -0
- data/libzmq/zeromq-2.1.7/src/sub.cpp +75 -0
- data/libzmq/zeromq-2.1.7/src/sub.hpp +50 -0
- data/libzmq/zeromq-2.1.7/src/swap.cpp +325 -0
- data/libzmq/zeromq-2.1.7/src/swap.hpp +123 -0
- data/libzmq/zeromq-2.1.7/src/tcp_connecter.cpp +310 -0
- data/libzmq/zeromq-2.1.7/src/tcp_connecter.hpp +81 -0
- data/libzmq/zeromq-2.1.7/src/tcp_listener.cpp +371 -0
- data/libzmq/zeromq-2.1.7/src/tcp_listener.hpp +73 -0
- data/libzmq/zeromq-2.1.7/src/tcp_socket.cpp +228 -0
- data/libzmq/zeromq-2.1.7/src/tcp_socket.hpp +72 -0
- data/libzmq/zeromq-2.1.7/src/thread.cpp +97 -0
- data/libzmq/zeromq-2.1.7/src/thread.hpp +78 -0
- data/libzmq/zeromq-2.1.7/src/transient_session.cpp +41 -0
- data/libzmq/zeromq-2.1.7/src/transient_session.hpp +52 -0
- data/libzmq/zeromq-2.1.7/src/trie.cpp +181 -0
- data/libzmq/zeromq-2.1.7/src/trie.hpp +59 -0
- data/libzmq/zeromq-2.1.7/src/uuid.cpp +233 -0
- data/libzmq/zeromq-2.1.7/src/uuid.hpp +111 -0
- data/libzmq/zeromq-2.1.7/src/windows.hpp +79 -0
- data/libzmq/zeromq-2.1.7/src/wire.hpp +99 -0
- data/libzmq/zeromq-2.1.7/src/xpub.cpp +76 -0
- data/libzmq/zeromq-2.1.7/src/xpub.hpp +61 -0
- data/libzmq/zeromq-2.1.7/src/xrep.cpp +337 -0
- data/libzmq/zeromq-2.1.7/src/xrep.hpp +116 -0
- data/libzmq/zeromq-2.1.7/src/xreq.cpp +74 -0
- data/libzmq/zeromq-2.1.7/src/xreq.hpp +65 -0
- data/libzmq/zeromq-2.1.7/src/xsub.cpp +172 -0
- data/libzmq/zeromq-2.1.7/src/xsub.hpp +80 -0
- data/libzmq/zeromq-2.1.7/src/ypipe.hpp +209 -0
- data/libzmq/zeromq-2.1.7/src/yqueue.hpp +198 -0
- data/libzmq/zeromq-2.1.7/src/zmq.cpp +798 -0
- data/libzmq/zeromq-2.1.7/src/zmq_connecter.cpp +166 -0
- data/libzmq/zeromq-2.1.7/src/zmq_connecter.hpp +92 -0
- data/libzmq/zeromq-2.1.7/src/zmq_engine.cpp +220 -0
- data/libzmq/zeromq-2.1.7/src/zmq_engine.hpp +87 -0
- data/libzmq/zeromq-2.1.7/src/zmq_init.cpp +216 -0
- data/libzmq/zeromq-2.1.7/src/zmq_init.hpp +93 -0
- data/libzmq/zeromq-2.1.7/src/zmq_listener.cpp +78 -0
- data/libzmq/zeromq-2.1.7/src/zmq_listener.hpp +67 -0
- data/libzmq/zeromq-2.1.7/tests/Makefile.am +30 -0
- data/libzmq/zeromq-2.1.7/tests/Makefile.in +713 -0
- data/libzmq/zeromq-2.1.7/tests/test_hwm.cpp +68 -0
- data/libzmq/zeromq-2.1.7/tests/test_pair_inproc.cpp +31 -0
- data/libzmq/zeromq-2.1.7/tests/test_pair_ipc.cpp +31 -0
- data/libzmq/zeromq-2.1.7/tests/test_pair_tcp.cpp +31 -0
- data/libzmq/zeromq-2.1.7/tests/test_reqrep_inproc.cpp +31 -0
- data/libzmq/zeromq-2.1.7/tests/test_reqrep_ipc.cpp +31 -0
- data/libzmq/zeromq-2.1.7/tests/test_reqrep_tcp.cpp +31 -0
- data/libzmq/zeromq-2.1.7/tests/test_shutdown_stress.cpp +87 -0
- data/libzmq/zeromq-2.1.7/tests/testutil.hpp +130 -0
- data/libzmq/zeromq-2.1.7/version.sh +21 -0
- data/libzmq/zeromq-2.1.7/zeromq.spec +139 -0
- metadata +348 -0
@@ -0,0 +1,45 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2007-2011 iMatix Corporation
|
3
|
+
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
|
4
|
+
|
5
|
+
This file is part of 0MQ.
|
6
|
+
|
7
|
+
0MQ is free software; you can redistribute it and/or modify it under
|
8
|
+
the terms of the GNU Lesser General Public License as published by
|
9
|
+
the Free Software Foundation; either version 3 of the License, or
|
10
|
+
(at your option) any later version.
|
11
|
+
|
12
|
+
0MQ is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
GNU Lesser General Public License for more details.
|
16
|
+
|
17
|
+
You should have received a copy of the GNU Lesser General Public License
|
18
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#ifndef __ZMQ_FD_HPP_INCLUDED__
|
22
|
+
#define __ZMQ_FD_HPP_INCLUDED__
|
23
|
+
|
24
|
+
#include "platform.hpp"
|
25
|
+
|
26
|
+
#ifdef ZMQ_HAVE_WINDOWS
|
27
|
+
#include "windows.hpp"
|
28
|
+
#endif
|
29
|
+
|
30
|
+
namespace zmq
|
31
|
+
{
|
32
|
+
#ifdef ZMQ_HAVE_WINDOWS
|
33
|
+
#if defined _MSC_VER &&_MSC_VER <= 1400
|
34
|
+
typedef UINT_PTR fd_t;
|
35
|
+
enum {retired_fd = (fd_t)(~0)};
|
36
|
+
#else
|
37
|
+
typedef SOCKET fd_t;
|
38
|
+
enum {retired_fd = INVALID_SOCKET};
|
39
|
+
#endif
|
40
|
+
#else
|
41
|
+
typedef int fd_t;
|
42
|
+
enum {retired_fd = -1};
|
43
|
+
#endif
|
44
|
+
}
|
45
|
+
#endif
|
@@ -0,0 +1,164 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2007-2011 iMatix Corporation
|
3
|
+
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
|
4
|
+
|
5
|
+
This file is part of 0MQ.
|
6
|
+
|
7
|
+
0MQ is free software; you can redistribute it and/or modify it under
|
8
|
+
the terms of the GNU Lesser General Public License as published by
|
9
|
+
the Free Software Foundation; either version 3 of the License, or
|
10
|
+
(at your option) any later version.
|
11
|
+
|
12
|
+
0MQ is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
GNU Lesser General Public License for more details.
|
16
|
+
|
17
|
+
You should have received a copy of the GNU Lesser General Public License
|
18
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#include "../include/zmq.h"
|
22
|
+
|
23
|
+
#include "fq.hpp"
|
24
|
+
#include "pipe.hpp"
|
25
|
+
#include "err.hpp"
|
26
|
+
#include "own.hpp"
|
27
|
+
|
28
|
+
zmq::fq_t::fq_t (own_t *sink_) :
|
29
|
+
active (0),
|
30
|
+
current (0),
|
31
|
+
more (false),
|
32
|
+
sink (sink_),
|
33
|
+
terminating (false)
|
34
|
+
{
|
35
|
+
}
|
36
|
+
|
37
|
+
zmq::fq_t::~fq_t ()
|
38
|
+
{
|
39
|
+
zmq_assert (pipes.empty ());
|
40
|
+
}
|
41
|
+
|
42
|
+
void zmq::fq_t::attach (reader_t *pipe_)
|
43
|
+
{
|
44
|
+
pipe_->set_event_sink (this);
|
45
|
+
|
46
|
+
pipes.push_back (pipe_);
|
47
|
+
pipes.swap (active, pipes.size () - 1);
|
48
|
+
active++;
|
49
|
+
|
50
|
+
// If we are already terminating, ask the pipe to terminate straight away.
|
51
|
+
if (terminating) {
|
52
|
+
sink->register_term_acks (1);
|
53
|
+
pipe_->terminate ();
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
void zmq::fq_t::terminated (reader_t *pipe_)
|
58
|
+
{
|
59
|
+
// Make sure that we are not closing current pipe while
|
60
|
+
// message is half-read.
|
61
|
+
zmq_assert (terminating || (!more || pipes [current] != pipe_));
|
62
|
+
|
63
|
+
// Remove the pipe from the list; adjust number of active pipes
|
64
|
+
// accordingly.
|
65
|
+
if (pipes.index (pipe_) < active) {
|
66
|
+
active--;
|
67
|
+
if (current == active)
|
68
|
+
current = 0;
|
69
|
+
}
|
70
|
+
pipes.erase (pipe_);
|
71
|
+
|
72
|
+
if (terminating)
|
73
|
+
sink->unregister_term_ack ();
|
74
|
+
}
|
75
|
+
|
76
|
+
void zmq::fq_t::delimited (reader_t *pipe_)
|
77
|
+
{
|
78
|
+
}
|
79
|
+
|
80
|
+
void zmq::fq_t::terminate ()
|
81
|
+
{
|
82
|
+
zmq_assert (!terminating);
|
83
|
+
terminating = true;
|
84
|
+
|
85
|
+
sink->register_term_acks (pipes.size ());
|
86
|
+
for (pipes_t::size_type i = 0; i != pipes.size (); i++)
|
87
|
+
pipes [i]->terminate ();
|
88
|
+
}
|
89
|
+
|
90
|
+
void zmq::fq_t::activated (reader_t *pipe_)
|
91
|
+
{
|
92
|
+
// Move the pipe to the list of active pipes.
|
93
|
+
pipes.swap (pipes.index (pipe_), active);
|
94
|
+
active++;
|
95
|
+
}
|
96
|
+
|
97
|
+
int zmq::fq_t::recv (zmq_msg_t *msg_, int flags_)
|
98
|
+
{
|
99
|
+
// Deallocate old content of the message.
|
100
|
+
zmq_msg_close (msg_);
|
101
|
+
|
102
|
+
// Round-robin over the pipes to get the next message.
|
103
|
+
for (int count = active; count != 0; count--) {
|
104
|
+
|
105
|
+
// Try to fetch new message. If we've already read part of the message
|
106
|
+
// subsequent part should be immediately available.
|
107
|
+
bool fetched = pipes [current]->read (msg_);
|
108
|
+
|
109
|
+
// Check the atomicity of the message. If we've already received the
|
110
|
+
// first part of the message we should get the remaining parts
|
111
|
+
// without blocking.
|
112
|
+
zmq_assert (!(more && !fetched));
|
113
|
+
|
114
|
+
// Note that when message is not fetched, current pipe is deactivated
|
115
|
+
// and replaced by another active pipe. Thus we don't have to increase
|
116
|
+
// the 'current' pointer.
|
117
|
+
if (fetched) {
|
118
|
+
more = msg_->flags & ZMQ_MSG_MORE;
|
119
|
+
if (!more) {
|
120
|
+
current++;
|
121
|
+
if (current >= active)
|
122
|
+
current = 0;
|
123
|
+
}
|
124
|
+
return 0;
|
125
|
+
}
|
126
|
+
else {
|
127
|
+
active--;
|
128
|
+
pipes.swap (current, active);
|
129
|
+
if (current == active)
|
130
|
+
current = 0;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
// No message is available. Initialise the output parameter
|
135
|
+
// to be a 0-byte message.
|
136
|
+
zmq_msg_init (msg_);
|
137
|
+
errno = EAGAIN;
|
138
|
+
return -1;
|
139
|
+
}
|
140
|
+
|
141
|
+
bool zmq::fq_t::has_in ()
|
142
|
+
{
|
143
|
+
// There are subsequent parts of the partly-read message available.
|
144
|
+
if (more)
|
145
|
+
return true;
|
146
|
+
|
147
|
+
// Note that messing with current doesn't break the fairness of fair
|
148
|
+
// queueing algorithm. If there are no messages available current will
|
149
|
+
// get back to its original value. Otherwise it'll point to the first
|
150
|
+
// pipe holding messages, skipping only pipes with no messages available.
|
151
|
+
for (int count = active; count != 0; count--) {
|
152
|
+
if (pipes [current]->check_read ())
|
153
|
+
return true;
|
154
|
+
|
155
|
+
// Deactivate the pipe.
|
156
|
+
active--;
|
157
|
+
pipes.swap (current, active);
|
158
|
+
if (current == active)
|
159
|
+
current = 0;
|
160
|
+
}
|
161
|
+
|
162
|
+
return false;
|
163
|
+
}
|
164
|
+
|
@@ -0,0 +1,80 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2007-2011 iMatix Corporation
|
3
|
+
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
|
4
|
+
|
5
|
+
This file is part of 0MQ.
|
6
|
+
|
7
|
+
0MQ is free software; you can redistribute it and/or modify it under
|
8
|
+
the terms of the GNU Lesser General Public License as published by
|
9
|
+
the Free Software Foundation; either version 3 of the License, or
|
10
|
+
(at your option) any later version.
|
11
|
+
|
12
|
+
0MQ is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
GNU Lesser General Public License for more details.
|
16
|
+
|
17
|
+
You should have received a copy of the GNU Lesser General Public License
|
18
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#ifndef __ZMQ_FQ_HPP_INCLUDED__
|
22
|
+
#define __ZMQ_FQ_HPP_INCLUDED__
|
23
|
+
|
24
|
+
#include "array.hpp"
|
25
|
+
#include "pipe.hpp"
|
26
|
+
|
27
|
+
namespace zmq
|
28
|
+
{
|
29
|
+
|
30
|
+
// Class manages a set of inbound pipes. On receive it performs fair
|
31
|
+
// queueing (RFC970) so that senders gone berserk won't cause denial of
|
32
|
+
// service for decent senders.
|
33
|
+
class fq_t : public i_reader_events
|
34
|
+
{
|
35
|
+
public:
|
36
|
+
|
37
|
+
fq_t (class own_t *sink_);
|
38
|
+
~fq_t ();
|
39
|
+
|
40
|
+
void attach (reader_t *pipe_);
|
41
|
+
void terminate ();
|
42
|
+
|
43
|
+
int recv (zmq_msg_t *msg_, int flags_);
|
44
|
+
bool has_in ();
|
45
|
+
|
46
|
+
// i_reader_events implementation.
|
47
|
+
void activated (reader_t *pipe_);
|
48
|
+
void terminated (reader_t *pipe_);
|
49
|
+
void delimited (reader_t *pipe_);
|
50
|
+
|
51
|
+
private:
|
52
|
+
|
53
|
+
// Inbound pipes.
|
54
|
+
typedef array_t <reader_t> pipes_t;
|
55
|
+
pipes_t pipes;
|
56
|
+
|
57
|
+
// Number of active pipes. All the active pipes are located at the
|
58
|
+
// beginning of the pipes array.
|
59
|
+
pipes_t::size_type active;
|
60
|
+
|
61
|
+
// Index of the next bound pipe to read a message from.
|
62
|
+
pipes_t::size_type current;
|
63
|
+
|
64
|
+
// If true, part of a multipart message was already received, but
|
65
|
+
// there are following parts still waiting in the current pipe.
|
66
|
+
bool more;
|
67
|
+
|
68
|
+
// Object to send events to.
|
69
|
+
class own_t *sink;
|
70
|
+
|
71
|
+
// If true, termination process is already underway.
|
72
|
+
bool terminating;
|
73
|
+
|
74
|
+
fq_t (const fq_t&);
|
75
|
+
const fq_t &operator = (const fq_t&);
|
76
|
+
};
|
77
|
+
|
78
|
+
}
|
79
|
+
|
80
|
+
#endif
|
@@ -0,0 +1,53 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2007-2011 iMatix Corporation
|
3
|
+
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
|
4
|
+
|
5
|
+
This file is part of 0MQ.
|
6
|
+
|
7
|
+
0MQ is free software; you can redistribute it and/or modify it under
|
8
|
+
the terms of the GNU Lesser General Public License as published by
|
9
|
+
the Free Software Foundation; either version 3 of the License, or
|
10
|
+
(at your option) any later version.
|
11
|
+
|
12
|
+
0MQ is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
GNU Lesser General Public License for more details.
|
16
|
+
|
17
|
+
You should have received a copy of the GNU Lesser General Public License
|
18
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#ifndef __ZMQ_I_ENGINE_HPP_INCLUDED__
|
22
|
+
#define __ZMQ_I_ENGINE_HPP_INCLUDED__
|
23
|
+
|
24
|
+
namespace zmq
|
25
|
+
{
|
26
|
+
|
27
|
+
struct i_engine
|
28
|
+
{
|
29
|
+
virtual ~i_engine () {}
|
30
|
+
|
31
|
+
// Plug the engine to the session.
|
32
|
+
virtual void plug (class io_thread_t *io_thread_,
|
33
|
+
struct i_inout *inout_) = 0;
|
34
|
+
|
35
|
+
// Unplug the engine from the session.
|
36
|
+
virtual void unplug () = 0;
|
37
|
+
|
38
|
+
// Terminate and deallocate the engine. Note that 'detached'
|
39
|
+
// events are not fired on termination.
|
40
|
+
virtual void terminate () = 0;
|
41
|
+
|
42
|
+
// This method is called by the session to signalise that more
|
43
|
+
// messages can be written to the pipe.
|
44
|
+
virtual void activate_in () = 0;
|
45
|
+
|
46
|
+
// This method is called by the session to signalise that there
|
47
|
+
// are messages to send available.
|
48
|
+
virtual void activate_out () = 0;
|
49
|
+
};
|
50
|
+
|
51
|
+
}
|
52
|
+
|
53
|
+
#endif
|
@@ -0,0 +1,50 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2007-2011 iMatix Corporation
|
3
|
+
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
|
4
|
+
|
5
|
+
This file is part of 0MQ.
|
6
|
+
|
7
|
+
0MQ is free software; you can redistribute it and/or modify it under
|
8
|
+
the terms of the GNU Lesser General Public License as published by
|
9
|
+
the Free Software Foundation; either version 3 of the License, or
|
10
|
+
(at your option) any later version.
|
11
|
+
|
12
|
+
0MQ is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
GNU Lesser General Public License for more details.
|
16
|
+
|
17
|
+
You should have received a copy of the GNU Lesser General Public License
|
18
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#ifndef __ZMQ_I_INOUT_HPP_INCLUDED__
|
22
|
+
#define __ZMQ_I_INOUT_HPP_INCLUDED__
|
23
|
+
|
24
|
+
#include "../include/zmq.h"
|
25
|
+
|
26
|
+
#include "stdint.hpp"
|
27
|
+
|
28
|
+
namespace zmq
|
29
|
+
{
|
30
|
+
|
31
|
+
struct i_inout
|
32
|
+
{
|
33
|
+
virtual ~i_inout () {}
|
34
|
+
|
35
|
+
// Engine asks for a message to send to the network.
|
36
|
+
virtual bool read (::zmq_msg_t *msg_) = 0;
|
37
|
+
|
38
|
+
// Engine received message from the network and sends it further on.
|
39
|
+
virtual bool write (::zmq_msg_t *msg_) = 0;
|
40
|
+
|
41
|
+
// Flush all the previously written messages.
|
42
|
+
virtual void flush () = 0;
|
43
|
+
|
44
|
+
// Engine is dead. Drop all the references to it.
|
45
|
+
virtual void detach () = 0;
|
46
|
+
};
|
47
|
+
|
48
|
+
}
|
49
|
+
|
50
|
+
#endif
|
@@ -0,0 +1,46 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2007-2011 iMatix Corporation
|
3
|
+
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
|
4
|
+
|
5
|
+
This file is part of 0MQ.
|
6
|
+
|
7
|
+
0MQ is free software; you can redistribute it and/or modify it under
|
8
|
+
the terms of the GNU Lesser General Public License as published by
|
9
|
+
the Free Software Foundation; either version 3 of the License, or
|
10
|
+
(at your option) any later version.
|
11
|
+
|
12
|
+
0MQ is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
GNU Lesser General Public License for more details.
|
16
|
+
|
17
|
+
You should have received a copy of the GNU Lesser General Public License
|
18
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#ifndef __ZMQ_I_POLL_EVENTS_HPP_INCLUDED__
|
22
|
+
#define __ZMQ_I_POLL_EVENTS_HPP_INCLUDED__
|
23
|
+
|
24
|
+
namespace zmq
|
25
|
+
{
|
26
|
+
|
27
|
+
// Virtual interface to be exposed by object that want to be notified
|
28
|
+
// about events on file descriptors.
|
29
|
+
|
30
|
+
struct i_poll_events
|
31
|
+
{
|
32
|
+
virtual ~i_poll_events () {}
|
33
|
+
|
34
|
+
// Called by I/O thread when file descriptor is ready for reading.
|
35
|
+
virtual void in_event () = 0;
|
36
|
+
|
37
|
+
// Called by I/O thread when file descriptor is ready for writing.
|
38
|
+
virtual void out_event () = 0;
|
39
|
+
|
40
|
+
// Called when timer expires.
|
41
|
+
virtual void timer_event (int id_) = 0;
|
42
|
+
};
|
43
|
+
|
44
|
+
}
|
45
|
+
|
46
|
+
#endif
|
@@ -0,0 +1,107 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2007-2011 iMatix Corporation
|
3
|
+
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
|
4
|
+
|
5
|
+
This file is part of 0MQ.
|
6
|
+
|
7
|
+
0MQ is free software; you can redistribute it and/or modify it under
|
8
|
+
the terms of the GNU Lesser General Public License as published by
|
9
|
+
the Free Software Foundation; either version 3 of the License, or
|
10
|
+
(at your option) any later version.
|
11
|
+
|
12
|
+
0MQ is distributed in the hope that it will be useful,
|
13
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
GNU Lesser General Public License for more details.
|
16
|
+
|
17
|
+
You should have received a copy of the GNU Lesser General Public License
|
18
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#include "io_object.hpp"
|
22
|
+
#include "io_thread.hpp"
|
23
|
+
#include "err.hpp"
|
24
|
+
|
25
|
+
zmq::io_object_t::io_object_t (io_thread_t *io_thread_) :
|
26
|
+
poller (NULL)
|
27
|
+
{
|
28
|
+
if (io_thread_)
|
29
|
+
plug (io_thread_);
|
30
|
+
}
|
31
|
+
|
32
|
+
zmq::io_object_t::~io_object_t ()
|
33
|
+
{
|
34
|
+
}
|
35
|
+
|
36
|
+
void zmq::io_object_t::plug (io_thread_t *io_thread_)
|
37
|
+
{
|
38
|
+
zmq_assert (io_thread_);
|
39
|
+
zmq_assert (!poller);
|
40
|
+
|
41
|
+
// Retrieve the poller from the thread we are running in.
|
42
|
+
poller = io_thread_->get_poller ();
|
43
|
+
}
|
44
|
+
|
45
|
+
void zmq::io_object_t::unplug ()
|
46
|
+
{
|
47
|
+
zmq_assert (poller);
|
48
|
+
|
49
|
+
// Forget about old poller in preparation to be migrated
|
50
|
+
// to a different I/O thread.
|
51
|
+
poller = NULL;
|
52
|
+
}
|
53
|
+
|
54
|
+
zmq::io_object_t::handle_t zmq::io_object_t::add_fd (fd_t fd_)
|
55
|
+
{
|
56
|
+
return poller->add_fd (fd_, this);
|
57
|
+
}
|
58
|
+
|
59
|
+
void zmq::io_object_t::rm_fd (handle_t handle_)
|
60
|
+
{
|
61
|
+
poller->rm_fd (handle_);
|
62
|
+
}
|
63
|
+
|
64
|
+
void zmq::io_object_t::set_pollin (handle_t handle_)
|
65
|
+
{
|
66
|
+
poller->set_pollin (handle_);
|
67
|
+
}
|
68
|
+
|
69
|
+
void zmq::io_object_t::reset_pollin (handle_t handle_)
|
70
|
+
{
|
71
|
+
poller->reset_pollin (handle_);
|
72
|
+
}
|
73
|
+
|
74
|
+
void zmq::io_object_t::set_pollout (handle_t handle_)
|
75
|
+
{
|
76
|
+
poller->set_pollout (handle_);
|
77
|
+
}
|
78
|
+
|
79
|
+
void zmq::io_object_t::reset_pollout (handle_t handle_)
|
80
|
+
{
|
81
|
+
poller->reset_pollout (handle_);
|
82
|
+
}
|
83
|
+
|
84
|
+
void zmq::io_object_t::add_timer (int timeout_, int id_)
|
85
|
+
{
|
86
|
+
poller->add_timer (timeout_, this, id_);
|
87
|
+
}
|
88
|
+
|
89
|
+
void zmq::io_object_t::cancel_timer (int id_)
|
90
|
+
{
|
91
|
+
poller->cancel_timer (this, id_);
|
92
|
+
}
|
93
|
+
|
94
|
+
void zmq::io_object_t::in_event ()
|
95
|
+
{
|
96
|
+
zmq_assert (false);
|
97
|
+
}
|
98
|
+
|
99
|
+
void zmq::io_object_t::out_event ()
|
100
|
+
{
|
101
|
+
zmq_assert (false);
|
102
|
+
}
|
103
|
+
|
104
|
+
void zmq::io_object_t::timer_event (int id_)
|
105
|
+
{
|
106
|
+
zmq_assert (false);
|
107
|
+
}
|