code: def Handle_Events(self, events):
          
          for e in events:
  
              sock = e[0]
              event_type = e[1]
  
              if event_type == zmq.POLLIN:
                  msg = sock.recv()
                  reply = self.Handle_Receive(msg)
                  sock.send(reply)
              elif event_type == zmq.POLLOUT:
                  pass  # FIXME -- handle this correctly
              elif event_type == zmq.POLLERR:
                  pass  # FIXME -- handle this correctly
              else:
                  pass
docs: Handle events from poll()
  
          :events: A list of tuples form zmq.poll()
          :type events: list
          :returns: None