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
flags
parameter instead of multiple boolean parameters - Add new draft socket types
server
,client
,radio
,dish
,channel
,peer
,raw
,scatter
andgather
- 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 asynchronousDealer
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
toSocketType
in README - Add receiving messages (
ZMessage
,ZFrame
and payloads) to README and example - Override
toString
function inZMessage
andZFrame
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
toSocketType
- 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
ofZContext
to_shutdown
- Rename
_handle
and_zmq
ofZSocket
to_socket
and_context
- Add stream for
ZFrames
toZSocket
- 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
toZSocket
- Rename
ZeroMQ
toZContext
- Rename
ZeroMQBindings
torZMQBindings
- Add
subscribe(String topic)
andunsubscribe(String topic)
to manage subscriptions ofsub
sockets
1.0.0-dev.2 #
Add support for multipart messages #
- Rename
Message
toZFrame
- Add
ZMessage
as a queue ofZFrame
's - Receive messages as
ZMessage
instead 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)
)