dartzmq 1.0.0-dev.17 copy "dartzmq: ^1.0.0-dev.17" to clipboard
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 flags parameter instead of multiple boolean parameters
  • Add new draft socket types server, client, radio, dish, channel, peer, raw, scatter and gather
  • 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 Req socket by using asynchronous Dealer socket
  • Improve python example by using async Router socket 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 DONTWAIT flag 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 EINTR in some places

1.0.0-dev.10 #

Bugfix and code cleanup #

  • Fix bug where empty frames are seen as invalid ones
  • Reduce scope of hasMore variable
  • Split library code into smaller parts
  • Make _bindings global and load library directly
  • Add sendString convenience function

1.0.0-dev.9 #

Include binaries for Android and Windows to streamline usage #

  • Add libzmq binaries for Android
  • Add libzmq binaries 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 SocketMode to SocketType in README
  • Add receiving messages (ZMessage, ZFrame and payloads) to README and example
  • Override toString function in ZMessage and ZFrame for 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_setsockopt function
  • Add return code check to ZSocket.setOption function
  • Add zmq_has function for checking supported capabilities
  • Add helper functions for zmq_has

1.0.0-dev.5 #

Fix destroying poller and loading shared library #

  • Rename SocketMode to SocketType
  • 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 _isActive of ZContext to _shutdown
  • Rename _handle and _zmq of ZSocket to _socket and _context
  • Add stream for ZFrames to ZSocket
  • 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 ZmqSocket to ZSocket
  • Rename ZeroMQ to ZContext
  • Rename ZeroMQBindings tor ZMQBindings
  • Add subscribe(String topic) and unsubscribe(String topic) to manage subscriptions of sub sockets

1.0.0-dev.2 #

Add support for multipart messages #

  • Rename Message to ZFrame
  • Add ZMessage as a queue of ZFrame's
  • Receive messages as ZMessage instead of Message(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) and setCurveServerKey(String key))
  • Socket options (setOption(int option, String value))
12
likes
140
pub points
77%
popularity

Publisher

verified publisherwirmo.de

A simple dart zeromq implementation/wrapper around the libzmq C++ library

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

ffi

More

Packages that depend on dartzmq