def push_message(parsed_message):
    """
    Spawned as a greenlet to push parsed messages through ZeroMQ.
    """
    try:
        # This will be the representation to send to the Announcers.
        json_str = unified.encode_to_json(parsed_message)
    except __HOLE__:
        logger.error('Unable to serialize a parsed message.')
        return

    # Push a zlib compressed JSON representation of the message to
    # announcers.
    compressed_msg = zlib.compress(json_str)
    sender.send(compressed_msg)
dataset/ETHPy150Open gtaylor/EVE-Market-Data-Relay/emdr/daemons/gateway/order_pusher.py/push_message