Beispiel #1
0
def fanout_cast_to_server(conf, context, server_params, topic, msg):
    """Sends a message on a fanout exchange to a specific server."""
    return rpc_amqp.cast_to_server(conf, context, server_params, topic, msg,
            rpc_amqp.get_connection_pool(conf, Connection))
Beispiel #2
0
def cast_to_server(conf, context, server_params, topic, msg):
    """Sends a message on a topic to a specific server."""
    return rpc_amqp.cast_to_server(
        conf, context, server_params, topic, msg,
        rpc_amqp.get_connection_pool(conf, Connection))
Beispiel #3
0
def fanout_cast_to_server(context, server_params, topic, msg):
    """Sends a message on a fanout exchange to a specific server."""
    return rpc_amqp.cast_to_server(context, server_params, topic, msg,
                                   Connection.pool)
Beispiel #4
0
def cast_to_server(context, server_params, topic, msg):
    """Sends a message on a topic to a specific server."""
    return rpc_amqp.cast_to_server(context, server_params, topic, msg,
            Connection.pool)