This is an R6 wrapper of the C++ class in order to support R argument matching. Ideally, Rcpp will at some point support this natively and this file will no longer be necessary. Until then, it causes redundancy with zeromq.cpp, but this is a small inconvenience and much less error-prone than only relying on positional arguments.
new()
ZeroMQ$new()
listen()
ZeroMQ$listen(addrs = host(), socket_type = "ZMQ_REP", sid = "default")
connect()
ZeroMQ$connect(address, socket_type = "ZMQ_REQ", sid = "default")
disconnect()
ZeroMQ$disconnect(sid = "default")
send()
ZeroMQ$send(data, sid = "default", dont_wait = FALSE, send_more = FALSE)
receive()
ZeroMQ$receive(sid = "default", dont_wait = FALSE, unserialize = TRUE)
poll()
ZeroMQ$poll(sid = "default", timeout = -1L)