dartzmq 1.0.0-dev.17
dartzmq: ^1.0.0-dev.17 copied to clipboard
A simple dart zeromq implementation/wrapper around the libzmq C++ library
1.0.0-dev.17 #
Fix some code and documentation issues #
- Improve readme
- Improve example
- Fix some static analysis issues
1.0.0-dev.16 #
Refactor sockets #
- Refactor sockets to also have synchronized ones (
ZSyncSocket) - Refactor send functions to use single
flagsparameter instead of multiple boolean parameters - Add new draft socket types
server,client,radio,dish,channel,peer,raw,scatterandgather - Do not log error when library could not be loaded
1.0.0-dev.15 #
Use Dealer instead of Req socket in example #
- Resolve exceptions caused by synchronous
Reqsocket by using asynchronousDealersocket - Improve python example by using async
Routersocket and making it interruptible
1.0.0-dev.14 #
Update binaries #
- Update android binaries to NDK r25c
- Improve python example echo server
1.0.0-dev.13 #
Add dontwait to socket send functions #
- Add
DONTWAITflag option to socket send functions (thanks @izludec) - Add documentation on which socket methods might throw an exception
1.0.0-dev.12 #
Add socket monitoring capability #
- Add ZMonitor to receive socket state events
- Add MonitoredZSocket which receives socket state events
- Update example to display socket state and value
1.0.0-dev.11 #
Update binaries #
- Update android binaries to NDK r25
- Include android x86_64 binaries
- Move android binaries to
native/jni - Ignore
EINTRin some places
1.0.0-dev.10 #
Bugfix and code cleanup #
- Fix bug where empty frames are seen as invalid ones
- Reduce scope of
hasMorevariable - Split library code into smaller parts
- Make
_bindingsglobal and load library directly - Add
sendStringconvenience function
1.0.0-dev.9 #
Include binaries for Android and Windows to streamline usage #
- Add
libzmqbinaries for Android - Add
libzmqbinaries for Windows - Add counter to example and ip address of host machine
1.0.0-dev.8 #
Remove flutter dependencies #
- Remove flutter dependencies (
environment,sdk,flutter_test,flutter_lint) - Bump example dependencies
1.0.0-dev.7 #
Minor documentation improvements #
- Fix rename of
SocketModetoSocketTypein README - Add receiving messages (
ZMessage,ZFrameand payloads) to README and example - Override
toStringfunction inZMessageandZFramefor better debugging experience
1.0.0-dev.6 #
Free pointers before throwing a ZeroMQException #
- Free pointers before throwing a ZeroMQException
- Add return code to
zmq_setsockoptfunction - Add return code check to
ZSocket.setOptionfunction - Add
zmq_hasfunction for checking supported capabilities - Add helper functions for
zmq_has
1.0.0-dev.5 #
Fix destroying poller and loading shared library #
- Rename
SocketModetoSocketType - Add some steps on how to use dartzmq on Android
- Address warnings in bindings.dart
- Fix destroying poller (use **poller instead of *poller)
- Add more class documentation
- Fix loading shared library for orher platforms
- Extend error messages
- Add more socket options
1.0.0-dev.4 #
Fix heap corruption due to wrong usage of malloc.allocate #
- Use periodic timer to poll sockets every second
- Poll all messages on socket instead of one for each event to not loose messages
- Reuse zeromq message pointer
- Improve return code handling
- Rename
_isActiveofZContextto_shutdown - Rename
_handleand_zmqofZSocketto_socketand_context - Add stream for
ZFramestoZSocket - Always show error code in
ZeroMQException - Fix pubspec of example
1.0.0-dev.3 #
Add example, subscriptions for sub sockets and code cleanup #
- Add minimal working example
- Rename
ZmqSockettoZSocket - Rename
ZeroMQtoZContext - Rename
ZeroMQBindingstorZMQBindings - Add
subscribe(String topic)andunsubscribe(String topic)to manage subscriptions ofsubsockets
1.0.0-dev.2 #
Add support for multipart messages #
- Rename
MessagetoZFrame - Add
ZMessageas a queue ofZFrame's - Receive messages as
ZMessageinstead ofMessage(ZFrame) - Reduce minimum SDK version to
2.13.0
1.0.0-dev.1 #
Add crude implementation of libzmq #
- Creating sockets (pair, pub, sub, req, rep, dealer, router, pull, push, xPub, xSub, stream)
- Sending messages (of type
List<int>) - Bind (
bind(String address)) - Connect (
connect(String address)) - Curve (
setCurvePublicKey(String key),setCurveSecretKey(String key)andsetCurveServerKey(String key)) - Socket options (
setOption(int option, String value))