wni.nano¶
Submodules¶
wni.nano.poll¶
Polling for nanomsg sockets
-
class
wni.nano.poll.
RxPoll
(sockets)[source]¶ Bases:
object
Wrapse select.poll() to provide a convenient interface for nanomsg sockets.
Note
Any nanomsg sockets registered with this poll object will have their recv_timeout set to 0, so that polling will be fast (the poll function call already blocks, so blocking on recv doesn’t make any sense.)
wni.nano.util¶
Utility functions for working with nanomsg.