Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 721

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The AMQPExchange class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="amqpchannel.starttransaction.html">AMQPChannel::startTransaction</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="amqpexchange.bind.html">AMQPExchange::bind</a></div>
 <div class="up"><a href="book.amqp.html">AMQP</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.amqpexchange" class="reference">

 <h1 class="title">The AMQPExchange class</h1>
 

 <div class="partintro"><p class="verinfo">(PECL amqp &gt;= Unknown)</p>


  <div class="section" id="amqpexchange.intro">
   <h2 class="title">Introduction</h2>
   <p class="para">
    Represents an AMQP exchange.
   </p>
  </div>


  <div class="section" id="amqpexchange.synopsis">
   <h2 class="title">Class synopsis</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">AMQPExchange</strong>
     </span>
     {</div>

    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><a href="amqpexchange.bind.html" class="methodname">bind</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$destination_exchange_name</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$source_exchange_name</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$routing_key</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span>  <span class="methodname"><a href="amqpexchange.construct.html" class="methodname">__construct</a></span>
    ( <span class="methodparam"><span class="type"><a href="class.amqpchannel.html" class="type AMQPChannel">AMQPChannel</a></span> <code class="parameter">$amqp_channel</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">int</span> <span class="methodname"><a href="amqpexchange.declare.html" class="methodname">declare</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><a href="amqpexchange.delete.html" class="methodname">delete</a></span>
    ([ <span class="methodparam"><span class="type">int</span> <code class="parameter">$flags</code><span class="initializer"> = <strong><code>AMQP_NOPARAM</code></strong></span></span>
  ] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">mixed</span> <span class="methodname"><a href="amqpexchange.getargument.html" class="methodname">getArgument</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$key</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span> <span class="methodname"><a href="amqpexchange.getarguments.html" class="methodname">getArguments</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">int</span> <span class="methodname"><a href="amqpexchange.getflags.html" class="methodname">getFlags</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="amqpexchange.getname.html" class="methodname">getName</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="amqpexchange.gettype.html" class="methodname">getType</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><a href="amqpexchange.publish.html" class="methodname">publish</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$message</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$routing_key</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$flags</code><span class="initializer"> = <strong><code>AMQP_NOPARAM</code></strong></span></span>
   [, <span class="methodparam"><span class="type">array</span> <code class="parameter">$attributes</code><span class="initializer"> = array()</span></span>
  ]] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="amqpexchange.setargument.html" class="methodname">setArgument</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$key</code></span>
   , <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$value</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="amqpexchange.setarguments.html" class="methodname">setArguments</a></span>
    ( <span class="methodparam"><span class="type">array</span> <code class="parameter">$arguments</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="amqpexchange.setflags.html" class="methodname">setFlags</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$flags</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="amqpexchange.setname.html" class="methodname">setName</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$exchange_name</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="amqpexchange.settype.html" class="methodname">setType</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$exchange_type</code></span>
   )</div>

   }</div>


  </div>

 </div>

 





























 






 






 






 






 













 






 






 






 






 







<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="amqpexchange.bind.html">AMQPExchange::bind</a> — Bind to another exchange</li><li><a href="amqpexchange.construct.html">AMQPExchange::__construct</a> — Create an instance of AMQPExchange</li><li><a href="amqpexchange.declare.html">AMQPExchange::declare</a> — Declare a new exchange on the broker.</li><li><a href="amqpexchange.delete.html">AMQPExchange::delete</a> — Delete the exchange from the broker.</li><li><a href="amqpexchange.getargument.html">AMQPExchange::getArgument</a> — Get the argument associated with the given key</li><li><a href="amqpexchange.getarguments.html">AMQPExchange::getArguments</a> — Get all arguments set on the given exchange</li><li><a href="amqpexchange.getflags.html">AMQPExchange::getFlags</a> — Get the flag bitmask</li><li><a href="amqpexchange.getname.html">AMQPExchange::getName</a> — Get the configured name</li><li><a href="amqpexchange.gettype.html">AMQPExchange::getType</a> — Get the configured type</li><li><a href="amqpexchange.publish.html">AMQPExchange::publish</a> — Publish a message to an exchange.</li><li><a href="amqpexchange.setargument.html">AMQPExchange::setArgument</a> — Set the value for the given key</li><li><a href="amqpexchange.setarguments.html">AMQPExchange::setArguments</a> — Set all arguments on the exchange</li><li><a href="amqpexchange.setflags.html">AMQPExchange::setFlags</a> — Set the flags on an exchange</li><li><a href="amqpexchange.setname.html">AMQPExchange::setName</a> — Set the name of the exchange</li><li><a href="amqpexchange.settype.html">AMQPExchange::setType</a> — Set the type of the exchange</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="amqpchannel.starttransaction.html">AMQPChannel::startTransaction</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="amqpexchange.bind.html">AMQPExchange::bind</a></div>
 <div class="up"><a href="book.amqp.html">AMQP</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>