def recv_monitor_message(socket, flags=0):
 _check_version((4, 0), 'libzmq event API')
 msg = socket.recv_multipart(flags)
 return parse_monitor_message(msg)

def recv_monitor_message ( socket , flags = 0 ) : _check_version ( ( 4 , 0 ) , 'libzmq event API' ) msg = socket . recv_multipart ( flags ) return parse_monitor_message ( msg )
receive and decode the given raw message from the monitoring socket and return a dict .