@staticmethod
    def _remap_events(z_events):
        events = 0
        if z_events & POLLIN:
            events |= IOLoop.READ
        if z_events & POLLOUT:
            events |= IOLoop.WRITE
        if z_events & POLLERR:
            events |= IOLoop.ERROR
        return events
translate zmq.POLLIN/OUT/ERR event masks into IOLoop.READ/WRITE/ERROR
dataset/ETHPy150Open felipecruz/zmqpy/zmqpy/eventloop/ioloop.py/ZMQPoller._remap_events