zmq-d 0.3.0
A higher level, idiomatic zmq wrapper for the D language.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
zmq.d
A higher level, idiomatic zmq wrapper for the D language.
Features
- wrappers for common zmq methods
- resource management and destruction
- policy based concurrency support
- vibe.d support ( integration with vibe.d event loop )
/// default concurrency - as is, blocking
import dzmq;
auto ctx = new ZmqContext();
auto sock = ctx.socket!(ZmqSocketType.Req)();
sock.connect("tcp://localhost:1234")
/// vibe.d concurrency - fibers ,yields execution while waiting
import dzmq;
import dzmq.concurrency_mixins;
auto ctx = new ZmqContext();
auto sock = ctx.socket!(ZmqSocketType.Req, VibeDConcurrencyPolicy)();
sock.connect("tcp://localhost:1234");
TBD
- Callbacks on messages
- Threading support
- 0.3.0 released 10 years ago
- iccodegr/zmq.d
- LGPL v3
- Copyright © 2014, Tasos Vogiatzoglou
- Authors:
- Dependencies:
- zeromq
- Versions:
-
0.3.0 2014-Aug-17 ~master 2014-Aug-17 ~develop 2015-May-08 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
431 downloads total
-
- Score:
- 0.6
- Short URL:
- zmq-d.dub.pm