forked from booksbyus/zguide
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
802 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
No-one has translated the interrupt example into Ada yet. Be the first to create | ||
interrupt in Ada and get one free Internet! If you're the author of the Ada | ||
binding, this is a great way to get people to use 0MQ in Ada. | ||
|
||
To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: | ||
|
||
* Stick to identical functionality and naming used in examples so that readers | ||
can easily compare languages. | ||
* You MUST place your name as author in the examples so readers can contact you. | ||
* You MUST state in the email that you license your code under the MIT/X11 | ||
license. | ||
|
||
Subscribe to the email list at http://lists.zeromq.org/mailman/listinfo/zeromq-dev. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
No-one has translated the mdcliapi example into Ada yet. Be the first to create | ||
mdcliapi in Ada and get one free Internet! If you're the author of the Ada | ||
binding, this is a great way to get people to use 0MQ in Ada. | ||
|
||
To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: | ||
|
||
* Stick to identical functionality and naming used in examples so that readers | ||
can easily compare languages. | ||
* You MUST place your name as author in the examples so readers can contact you. | ||
* You MUST state in the email that you license your code under the MIT/X11 | ||
license. | ||
|
||
Subscribe to the email list at http://lists.zeromq.org/mailman/listinfo/zeromq-dev. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
No-one has translated the mdwrkapi example into Ada yet. Be the first to create | ||
mdwrkapi in Ada and get one free Internet! If you're the author of the Ada | ||
binding, this is a great way to get people to use 0MQ in Ada. | ||
|
||
To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: | ||
|
||
* Stick to identical functionality and naming used in examples so that readers | ||
can easily compare languages. | ||
* You MUST place your name as author in the examples so readers can contact you. | ||
* You MUST state in the email that you license your code under the MIT/X11 | ||
license. | ||
|
||
Subscribe to the email list at http://lists.zeromq.org/mailman/listinfo/zeromq-dev. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
No-one has translated the interrupt example into Basic yet. Be the first to create | ||
interrupt in Basic and get one free Internet! If you're the author of the Basic | ||
binding, this is a great way to get people to use 0MQ in Basic. | ||
|
||
To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: | ||
|
||
* Stick to identical functionality and naming used in examples so that readers | ||
can easily compare languages. | ||
* You MUST place your name as author in the examples so readers can contact you. | ||
* You MUST state in the email that you license your code under the MIT/X11 | ||
license. | ||
|
||
Subscribe to the email list at http://lists.zeromq.org/mailman/listinfo/zeromq-dev. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
No-one has translated the mdcliapi example into Basic yet. Be the first to create | ||
mdcliapi in Basic and get one free Internet! If you're the author of the Basic | ||
binding, this is a great way to get people to use 0MQ in Basic. | ||
|
||
To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: | ||
|
||
* Stick to identical functionality and naming used in examples so that readers | ||
can easily compare languages. | ||
* You MUST place your name as author in the examples so readers can contact you. | ||
* You MUST state in the email that you license your code under the MIT/X11 | ||
license. | ||
|
||
Subscribe to the email list at http://lists.zeromq.org/mailman/listinfo/zeromq-dev. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
No-one has translated the mdwrkapi example into Basic yet. Be the first to create | ||
mdwrkapi in Basic and get one free Internet! If you're the author of the Basic | ||
binding, this is a great way to get people to use 0MQ in Basic. | ||
|
||
To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: | ||
|
||
* Stick to identical functionality and naming used in examples so that readers | ||
can easily compare languages. | ||
* You MUST place your name as author in the examples so readers can contact you. | ||
* You MUST state in the email that you license your code under the MIT/X11 | ||
license. | ||
|
||
Subscribe to the email list at http://lists.zeromq.org/mailman/listinfo/zeromq-dev. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
No-one has translated the interrupt example into C# yet. Be the first to create | ||
interrupt in C# and get one free Internet! If you're the author of the C# | ||
binding, this is a great way to get people to use 0MQ in C#. | ||
To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: | ||
* Stick to identical functionality and naming used in examples so that readers | ||
can easily compare languages. | ||
* You MUST place your name as author in the examples so readers can contact you. | ||
* You MUST state in the email that you license your code under the MIT/X11 | ||
license. | ||
Subscribe to the email list at http://lists.zeromq.org/mailman/listinfo/zeromq-dev. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
No-one has translated the mdcliapi example into C# yet. Be the first to create | ||
mdcliapi in C# and get one free Internet! If you're the author of the C# | ||
binding, this is a great way to get people to use 0MQ in C#. | ||
To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: | ||
* Stick to identical functionality and naming used in examples so that readers | ||
can easily compare languages. | ||
* You MUST place your name as author in the examples so readers can contact you. | ||
* You MUST state in the email that you license your code under the MIT/X11 | ||
license. | ||
Subscribe to the email list at http://lists.zeromq.org/mailman/listinfo/zeromq-dev. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
No-one has translated the mdwrkapi example into C# yet. Be the first to create | ||
mdwrkapi in C# and get one free Internet! If you're the author of the C# | ||
binding, this is a great way to get people to use 0MQ in C#. | ||
To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: | ||
* Stick to identical functionality and naming used in examples so that readers | ||
can easily compare languages. | ||
* You MUST place your name as author in the examples so readers can contact you. | ||
* You MUST state in the email that you license your code under the MIT/X11 | ||
license. | ||
Subscribe to the email list at http://lists.zeromq.org/mailman/listinfo/zeromq-dev. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
No-one has translated the interrupt example into C++ yet. Be the first to create | ||
interrupt in C++ and get one free Internet! If you're the author of the C++ | ||
binding, this is a great way to get people to use 0MQ in C++. | ||
To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: | ||
* Stick to identical functionality and naming used in examples so that readers | ||
can easily compare languages. | ||
* You MUST place your name as author in the examples so readers can contact you. | ||
* You MUST state in the email that you license your code under the MIT/X11 | ||
license. | ||
Subscribe to the email list at http://lists.zeromq.org/mailman/listinfo/zeromq-dev. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
No-one has translated the mdcliapi example into C++ yet. Be the first to create | ||
mdcliapi in C++ and get one free Internet! If you're the author of the C++ | ||
binding, this is a great way to get people to use 0MQ in C++. | ||
To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: | ||
* Stick to identical functionality and naming used in examples so that readers | ||
can easily compare languages. | ||
* You MUST place your name as author in the examples so readers can contact you. | ||
* You MUST state in the email that you license your code under the MIT/X11 | ||
license. | ||
Subscribe to the email list at http://lists.zeromq.org/mailman/listinfo/zeromq-dev. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
No-one has translated the mdwrkapi example into C++ yet. Be the first to create | ||
mdwrkapi in C++ and get one free Internet! If you're the author of the C++ | ||
binding, this is a great way to get people to use 0MQ in C++. | ||
To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please: | ||
* Stick to identical functionality and naming used in examples so that readers | ||
can easily compare languages. | ||
* You MUST place your name as author in the examples so readers can contact you. | ||
* You MUST state in the email that you license your code under the MIT/X11 | ||
license. | ||
Subscribe to the email list at http://lists.zeromq.org/mailman/listinfo/zeromq-dev. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,3 @@ elif [ -f $1.c ]; then | |
else | ||
echo "syntax: build all | clean" | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* ========================================================================= | ||
mdcliapi.h | ||
Majordomo Protocol Client API | ||
Implements the MDP/Worker spec at http://rfc.zeromq.org/spec:7. | ||
------------------------------------------------------------------------- | ||
Copyright (c) 1991-2011 iMatix Corporation <www.imatix.com> | ||
Copyright other contributors as noted in the AUTHORS file. | ||
This file is part of the ZeroMQ Guide: http://zguide.zeromq.org | ||
This is free software; you can redistribute it and/or modify it under the | ||
terms of the GNU Lesser General Public License as published by the Free | ||
Software Foundation; either version 3 of the License, or (at your option) | ||
any later version. | ||
This software is distributed in the hope that it will be useful, but | ||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABIL- | ||
ITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General | ||
Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
========================================================================= | ||
*/ | ||
|
||
#ifndef __MDCLIAPI_H_INCLUDED__ | ||
#define __MDCLIAPI_H_INCLUDED__ | ||
|
||
#include "zmsg.h" | ||
#include "mdp.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
// Opaque class structure | ||
typedef struct _mdcli_t mdcli_t; | ||
|
||
mdcli_t * | ||
mdcli_new (char *broker, int verbose); | ||
void | ||
mdcli_destroy (mdcli_t **self_p); | ||
void | ||
mdcli_set_timeout (mdcli_t *self, int timeout); | ||
void | ||
mdcli_set_retries (mdcli_t *self, int retries); | ||
zmsg_t * | ||
mdcli_send (mdcli_t *self, char *service, zmsg_t *request); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.