From 443d06f894751062da6d69238ce09f6fbfc27577 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 15 Apr 2012 13:10:41 +0200 Subject: "Survey" pattern implemented Survey pattern is "multicast with reply". There are two roles: surveyor and respondent. Surveyor publishes a survey which gets delivered to all connected respondents. Each repondent can send a response to the survey. All the responses are delivered to the original surveyor. Once the surveyor decides that the survey is over (e.g. deadline was reached) it can send initiate survey. Late responses from old surveys are automatically discarded by the surveyor socket. Socket types: SURVEYOR, XSURVEYOR, RESPONDENT, XRESPONDENT Patch also includes a test program with surveoyr, two respondents and an intermediary device. Signed-off-by: Martin Sustrik --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 2de95c2..2db7190 100755 --- a/.gitignore +++ b/.gitignore @@ -49,6 +49,7 @@ tests/polltimeo tests/wireformat tests/libzmq21 tests/resubscribe +tests/survey src/platform.hpp* src/stamp-h1 perf/*.exe -- cgit v1.2.3