Campustream 1.0
A social network MQP for WPI
ActiveQueue Class Reference

Public Member Functions

 setOption ($option, $value)
 __construct ($name)
 push ($payload, $metadata=array())
 process ($seconds, $block)

Static Public Member Functions

static kestrel ($server='localhost', $port="22133")

Data Fields

const FINISHED = 3
const RETRY = 4
const FAILED = 5
const MAX_RETRIES = 5
const OPT_RETRY_QUEUE = 'retry_queue'

Static Public Attributes

static $kestrel = null

Detailed Description

Definition at line 3 of file activequeue.php.


Constructor & Destructor Documentation

__construct ( name)

Definition at line 38 of file activequeue.php.


Member Function Documentation

static kestrel ( server = 'localhost',
port = "22133" 
) [static]

Definition at line 19 of file activequeue.php.

process ( seconds,
block 
)

Definition at line 48 of file activequeue.php.

push ( payload,
metadata = array() 
)

Definition at line 42 of file activequeue.php.

setOption ( option,
value 
)

Definition at line 34 of file activequeue.php.


Field Documentation

$kestrel = null [static]

Definition at line 13 of file activequeue.php.

const FAILED = 5

Definition at line 7 of file activequeue.php.

const FINISHED = 3

Definition at line 5 of file activequeue.php.

const MAX_RETRIES = 5

Definition at line 9 of file activequeue.php.

const OPT_RETRY_QUEUE = 'retry_queue'

Definition at line 11 of file activequeue.php.

const RETRY = 4

Definition at line 6 of file activequeue.php.


The documentation for this class was generated from the following file: