celery.messaging.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Messaging - celery.messaging &mdash; Celery v0.1.15 documentation</title>
  7. <link rel="stylesheet" href="../static/default.css" type="text/css" />
  8. <link rel="stylesheet" href="../static/pygments.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: '../',
  12. VERSION: '0.1.15',
  13. COLLAPSE_MODINDEX: false,
  14. FILE_SUFFIX: '.html',
  15. HAS_SOURCE: true
  16. };
  17. </script>
  18. <script type="text/javascript" src="../static/jquery.js"></script>
  19. <script type="text/javascript" src="../static/doctools.js"></script>
  20. <link rel="top" title="Celery v0.1.15 documentation" href="../index.html" />
  21. <link rel="next" title="Platform Specific - celery.platform" href="celery.platform.html" />
  22. <link rel="prev" title="Django Models - celery.models" href="celery.models.html" />
  23. </head>
  24. <body>
  25. <div class="related">
  26. <h3>Navigation</h3>
  27. <ul>
  28. <li class="right" style="margin-right: 10px">
  29. <a href="../genindex.html" title="General Index"
  30. accesskey="I">index</a></li>
  31. <li class="right" >
  32. <a href="../modindex.html" title="Global Module Index"
  33. accesskey="M">modules</a> |</li>
  34. <li class="right" >
  35. <a href="celery.platform.html" title="Platform Specific - celery.platform"
  36. accesskey="N">next</a> |</li>
  37. <li class="right" >
  38. <a href="celery.models.html" title="Django Models - celery.models"
  39. accesskey="P">previous</a> |</li>
  40. <li><a href="../index.html">Celery v0.1.15 documentation</a> &raquo;</li>
  41. </ul>
  42. </div>
  43. <div class="document">
  44. <div class="documentwrapper">
  45. <div class="bodywrapper">
  46. <div class="body">
  47. <div class="section" id="module-celery.messaging">
  48. <h1>Messaging - celery.messaging<a class="headerlink" href="#module-celery.messaging" title="Permalink to this headline">¶</a></h1>
  49. <p>Sending and Receiving Messages</p>
  50. <dl class="class">
  51. <dt id="celery.messaging.NoProcessConsumer">
  52. <em class="property">
  53. class </em><tt class="descclassname">celery.messaging.</tt><tt class="descname">NoProcessConsumer</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.NoProcessConsumer" title="Permalink to this definition">¶</a></dt>
  54. <dd>A consumer that raises an error if used with wait callbacks (i.e.
  55. it doesn&#8217;t support <tt class="xref docutils literal"><span class="pre">carrot.messaging.Consumer.wait`()</span></tt>).</dd></dl>
  56. <dl class="class">
  57. <dt id="celery.messaging.TaskConsumer">
  58. <em class="property">
  59. 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>
  60. <dd>The AMQP Task Consumer class.</dd></dl>
  61. <dl class="class">
  62. <dt id="celery.messaging.TaskPublisher">
  63. <em class="property">
  64. 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>
  65. <dd><p>The AMQP Task Publisher class.</p>
  66. <dl class="method">
  67. <dt id="celery.messaging.TaskPublisher.delay_task">
  68. <tt class="descname">delay_task</tt><big>(</big><em>task_name</em>, <em>*task_args</em>, <em>**task_kwargs</em><big>)</big><a class="headerlink" href="#celery.messaging.TaskPublisher.delay_task" title="Permalink to this definition">¶</a></dt>
  69. <dd>Delay task for execution by the celery nodes.</dd></dl>
  70. <dl class="method">
  71. <dt id="celery.messaging.TaskPublisher.delay_task_in_set">
  72. <tt class="descname">delay_task_in_set</tt><big>(</big><em>task_name</em>, <em>taskset_id</em>, <em>task_args</em>, <em>task_kwargs</em><big>)</big><a class="headerlink" href="#celery.messaging.TaskPublisher.delay_task_in_set" title="Permalink to this definition">¶</a></dt>
  73. <dd>Delay a task which part of a task set.</dd></dl>
  74. <dl class="method">
  75. <dt id="celery.messaging.TaskPublisher.requeue_task">
  76. <tt class="descname">requeue_task</tt><big>(</big><em>task_name</em>, <em>task_id</em>, <em>task_args</em>, <em>task_kwargs</em>, <em>part_of_set=None</em><big>)</big><a class="headerlink" href="#celery.messaging.TaskPublisher.requeue_task" title="Permalink to this definition">¶</a></dt>
  77. <dd>Requeue a failed task.</dd></dl>
  78. </dd></dl>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. <div class="sphinxsidebar">
  84. <div class="sphinxsidebarwrapper">
  85. <h4>Previous topic</h4>
  86. <p class="topless"><a href="celery.models.html"
  87. title="previous chapter">Django Models - celery.models</a></p>
  88. <h4>Next topic</h4>
  89. <p class="topless"><a href="celery.platform.html"
  90. title="next chapter">Platform Specific - celery.platform</a></p>
  91. <h3>This Page</h3>
  92. <ul class="this-page-menu">
  93. <li><a href="../sources/reference/celery.messaging.txt"
  94. rel="nofollow">Show Source</a></li>
  95. </ul>
  96. <div id="searchbox" style="display: none">
  97. <h3>Quick search</h3>
  98. <form class="search" action="../search.html" method="get">
  99. <input type="text" name="q" size="18" />
  100. <input type="submit" value="Go" />
  101. <input type="hidden" name="check_keywords" value="yes" />
  102. <input type="hidden" name="area" value="default" />
  103. </form>
  104. <p class="searchtip" style="font-size: 90%">
  105. Enter search terms or a module, class or function name.
  106. </p>
  107. </div>
  108. <script type="text/javascript">$('#searchbox').show(0);</script>
  109. </div>
  110. </div>
  111. <div class="clearer"></div>
  112. </div>
  113. <div class="related">
  114. <h3>Navigation</h3>
  115. <ul>
  116. <li class="right" style="margin-right: 10px">
  117. <a href="../genindex.html" title="General Index"
  118. >index</a></li>
  119. <li class="right" >
  120. <a href="../modindex.html" title="Global Module Index"
  121. >modules</a> |</li>
  122. <li class="right" >
  123. <a href="celery.platform.html" title="Platform Specific - celery.platform"
  124. >next</a> |</li>
  125. <li class="right" >
  126. <a href="celery.models.html" title="Django Models - celery.models"
  127. >previous</a> |</li>
  128. <li><a href="../index.html">Celery v0.1.15 documentation</a> &raquo;</li>
  129. </ul>
  130. </div>
  131. <div class="footer">
  132. &copy; Copyright 2009, Ask Solem.
  133. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.1.
  134. </div>
  135. </body>
  136. </html>