Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Comments on instance variables

  • Loading branch information...
commit c92bc5c4d228bedc98079fc47a4317743be2a33c 1 parent 67ffa71
@gjedeer authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 celery.php
View
12 celery.php
@@ -34,8 +34,8 @@ class CeleryTimeoutException extends CeleryException {};
*/
class Celery
{
- private $connection = null;
- private $connection_details = array();
+ private $connection = null; // AMQPConnection object
+ private $connection_details = array(); // array of strings required to connect
function __construct($host, $login, $password, $vhost, $exchange='celery', $binding='celery', $port=5672)
{
@@ -121,11 +121,11 @@ function PostTask($task, $args)
*/
class AsyncResult
{
- private $task_id;
- private $connection;
- private $connection_details;
+ private $task_id; // string, queue name
+ private $connection; // AMQPConnection instance
+ private $connection_details; // array of strings required to connect
private $complete_result; // AMQPEnvelope instance
- private $body;
+ private $body; // decoded array with message body (whatever Celery task returned)
/**
* Don't instantiate AsyncResult yourself, used internally only
Please sign in to comment.
Something went wrong with that request. Please try again.