| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 | 
							- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 
-   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
- <html xmlns="http://www.w3.org/1999/xhtml">
 
-   <head>
 
-     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
-     
 
-     <title>Messaging - celery.messaging — Celery v0.7.0 (unstable) documentation</title>
 
-     <link rel="stylesheet" href="../static/nature.css" type="text/css" />
 
-     <link rel="stylesheet" href="../static/pygments.css" type="text/css" />
 
-     <script type="text/javascript">
 
-       var DOCUMENTATION_OPTIONS = {
 
-         URL_ROOT:    '../',
 
-         VERSION:     '0.7.0 (unstable)',
 
-         COLLAPSE_MODINDEX: false,
 
-         FILE_SUFFIX: '.html',
 
-         HAS_SOURCE:  true
 
-       };
 
-     </script>
 
-     <script type="text/javascript" src="../static/jquery.js"></script>
 
-     <script type="text/javascript" src="../static/doctools.js"></script>
 
-     <link rel="top" title="Celery v0.7.0 (unstable) documentation" href="../index.html" />
 
-     <link rel="up" title="Module API Reference" href="index.html" />
 
-     <link rel="next" title="Multiprocessing Worker - celery.worker" href="celery.worker.html" />
 
-     <link rel="prev" title="Statistics and Monitoring - celery.monitoring" href="celery.monitoring.html" /> 
 
-   </head>
 
-   <body>
 
-     <div class="related">
 
-       <h3>Navigation</h3>
 
-       <ul>
 
-         <li class="right" style="margin-right: 10px">
 
-           <a href="../genindex.html" title="General Index"
 
-              accesskey="I">index</a></li>
 
-         <li class="right" >
 
-           <a href="../modindex.html" title="Global Module Index"
 
-              accesskey="M">modules</a> |</li>
 
-         <li class="right" >
 
-           <a href="celery.worker.html" title="Multiprocessing Worker - celery.worker"
 
-              accesskey="N">next</a> |</li>
 
-         <li class="right" >
 
-           <a href="celery.monitoring.html" title="Statistics and Monitoring - celery.monitoring"
 
-              accesskey="P">previous</a> |</li>
 
-         <li><a href="../index.html">Celery v0.7.0 (unstable) documentation</a> »</li>
 
-           <li><a href="index.html" accesskey="U">Module API Reference</a> »</li> 
 
-       </ul>
 
-     </div>  
 
-     <div class="document">
 
-       <div class="documentwrapper">
 
-         <div class="bodywrapper">
 
-           <div class="body">
 
-             
 
-   <div class="section" id="module-celery.messaging">
 
- <h1>Messaging - celery.messaging<a class="headerlink" href="#module-celery.messaging" title="Permalink to this headline">¶</a></h1>
 
- <p>Sending and Receiving Messages</p>
 
- <dl class="class">
 
- <dt id="celery.messaging.TaskConsumer">
 
- <em class="property">
 
- class </em><tt class="descclassname">celery.messaging.</tt><tt class="descname">TaskConsumer</tt><big>(</big><em>connection</em>, <em>queue=None</em>, <em>exchange=None</em>, <em>routing_key=None</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#celery.messaging.TaskConsumer" title="Permalink to this definition">¶</a></dt>
 
- <dd><p>The AMQP Task Consumer class.</p>
 
- <dl class="method">
 
- <dt id="celery.messaging.TaskConsumer.decoder">
 
- <tt class="descname">decoder</tt><big>(</big><big>)</big><a class="headerlink" href="#celery.messaging.TaskConsumer.decoder" title="Permalink to this definition">¶</a></dt>
 
- <dd>loads(string) – Load a pickle from the given string</dd></dl>
 
- </dd></dl>
 
- <dl class="class">
 
- <dt id="celery.messaging.TaskPublisher">
 
- <em class="property">
 
- class </em><tt class="descclassname">celery.messaging.</tt><tt class="descname">TaskPublisher</tt><big>(</big><em>connection</em>, <em>exchange=None</em>, <em>routing_key=None</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#celery.messaging.TaskPublisher" title="Permalink to this definition">¶</a></dt>
 
- <dd><p>The AMQP Task Publisher class.</p>
 
- <dl class="method">
 
- <dt id="celery.messaging.TaskPublisher.delay_task">
 
- <tt class="descname">delay_task</tt><big>(</big><em>task_name</em>, <em>task_args</em>, <em>task_kwargs</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#celery.messaging.TaskPublisher.delay_task" title="Permalink to this definition">¶</a></dt>
 
- <dd>Delay task for execution by the celery nodes.</dd></dl>
 
- <dl class="method">
 
- <dt id="celery.messaging.TaskPublisher.delay_task_in_set">
 
- <tt class="descname">delay_task_in_set</tt><big>(</big><em>taskset_id</em>, <em>task_name</em>, <em>task_args</em>, <em>task_kwargs</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#celery.messaging.TaskPublisher.delay_task_in_set" title="Permalink to this definition">¶</a></dt>
 
- <dd>Delay a task which part of a task set.</dd></dl>
 
- <dl class="method">
 
- <dt id="celery.messaging.TaskPublisher.encoder">
 
- <tt class="descname">encoder</tt><big>(</big><big>)</big><a class="headerlink" href="#celery.messaging.TaskPublisher.encoder" title="Permalink to this definition">¶</a></dt>
 
- <dd><p>dumps(obj, protocol=0) – Return a string containing an object in pickle format.</p>
 
- <p>See the Pickler docstring for the meaning of optional argument proto.</p>
 
- </dd></dl>
 
- </dd></dl>
 
- </div>
 
-           </div>
 
-         </div>
 
-       </div>
 
-       <div class="sphinxsidebar">
 
-         <div class="sphinxsidebarwrapper">
 
-             <h4>Previous topic</h4>
 
-             <p class="topless"><a href="celery.monitoring.html"
 
-                                   title="previous chapter">Statistics and Monitoring - celery.monitoring</a></p>
 
-             <h4>Next topic</h4>
 
-             <p class="topless"><a href="celery.worker.html"
 
-                                   title="next chapter">Multiprocessing Worker - celery.worker</a></p>
 
-             <h3>This Page</h3>
 
-             <ul class="this-page-menu">
 
-               <li><a href="../sources/reference/celery.messaging.txt"
 
-                      rel="nofollow">Show Source</a></li>
 
-             </ul>
 
-           <div id="searchbox" style="display: none">
 
-             <h3>Quick search</h3>
 
-               <form class="search" action="../search.html" method="get">
 
-                 <input type="text" name="q" size="18" />
 
-                 <input type="submit" value="Go" />
 
-                 <input type="hidden" name="check_keywords" value="yes" />
 
-                 <input type="hidden" name="area" value="default" />
 
-               </form>
 
-               <p class="searchtip" style="font-size: 90%">
 
-               Enter search terms or a module, class or function name.
 
-               </p>
 
-           </div>
 
-           <script type="text/javascript">$('#searchbox').show(0);</script>
 
-         </div>
 
-       </div>
 
-       <div class="clearer"></div>
 
-     </div>
 
-     <div class="related">
 
-       <h3>Navigation</h3>
 
-       <ul>
 
-         <li class="right" style="margin-right: 10px">
 
-           <a href="../genindex.html" title="General Index"
 
-              >index</a></li>
 
-         <li class="right" >
 
-           <a href="../modindex.html" title="Global Module Index"
 
-              >modules</a> |</li>
 
-         <li class="right" >
 
-           <a href="celery.worker.html" title="Multiprocessing Worker - celery.worker"
 
-              >next</a> |</li>
 
-         <li class="right" >
 
-           <a href="celery.monitoring.html" title="Statistics and Monitoring - celery.monitoring"
 
-              >previous</a> |</li>
 
-         <li><a href="../index.html">Celery v0.7.0 (unstable) documentation</a> »</li>
 
-           <li><a href="index.html" >Module API Reference</a> »</li> 
 
-       </ul>
 
-     </div>
 
-     <div class="footer">
 
-       © Copyright 2009, Ask Solem.
 
-       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.2.
 
-     </div>
 
-   </body>
 
- </html>
 
 
  |