AMQP
PHP Manual

The AMQPExchange class

(No version information available, might only be in SVN)

简介

Represents an AMQP exchange.

类摘要

AMQPExchange {
/* Methods */
public bool bind ( string $destination_exchange_name , string $source_exchange_name , string $routing_key )
public __construct ( AMQPChannel $amqp_channel )
public int declare ( void )
public bool delete ([ int $flags = AMQP_NOPARAM ] )
public mixed getArgument ( string $key )
public array getArguments ( void )
public int getFlags ( void )
public string getName ( void )
public string getType ( void )
public bool publish ( string $message , string $routing_key [, int $flags = AMQP_NOPARAM [, array $attributes = array() ]] )
public void setArgument ( string $key , mixed $value )
public void setArguments ( array $arguments )
public void setFlags ( int $flags )
public void setName ( string $exchange_name )
public string setType ( string $exchange_type )
}

Table of Contents


AMQP
PHP Manual