Campustream 1.0
A social network MQP for WPI
PubSubContext Class Reference

Public Member Functions

 __construct (Client $redisClient)
 __destruct ()
 subscribe ()
 unsubscribe ()
 psubscribe ()
 punsubscribe ()
 closeContext ()
 rewind ()
 current ()
 key ()
 next ()
 valid ()
 __construct (Client $redisClient)
 __destruct ()
 subscribe ()
 unsubscribe ()
 psubscribe ()
 punsubscribe ()
 closeContext ()
 rewind ()
 current ()
 key ()
 next ()
 valid ()

Data Fields

const SUBSCRIBE = 'subscribe'
const UNSUBSCRIBE = 'unsubscribe'
const PSUBSCRIBE = 'psubscribe'
const PUNSUBSCRIBE = 'punsubscribe'
const MESSAGE = 'message'
const PMESSAGE = 'pmessage'
const STATUS_VALID = 0x0001
const STATUS_SUBSCRIBED = 0x0010
const STATUS_PSUBSCRIBED = 0x0100
 $_subscriptions
 $_isStillValid
 $_position

Detailed Description

Definition at line 947 of file predis.php.


Constructor & Destructor Documentation

__construct ( Client redisClient)

Definition at line 961 of file predis.php.

__destruct ( )

Definition at line 967 of file predis.php.

__construct ( Client redisClient)

Definition at line 961 of file predis.php.

__destruct ( )

Definition at line 967 of file predis.php.


Member Function Documentation

closeContext ( )

Definition at line 1008 of file predis.php.

closeContext ( )

Definition at line 1008 of file predis.php.

current ( )

Definition at line 1031 of file predis.php.

current ( )

Definition at line 1031 of file predis.php.

key ( )

Definition at line 1035 of file predis.php.

key ( )

Definition at line 1035 of file predis.php.

next ( )

Definition at line 1039 of file predis.php.

next ( )

Definition at line 1039 of file predis.php.

psubscribe ( )

Definition at line 999 of file predis.php.

psubscribe ( )

Definition at line 999 of file predis.php.

punsubscribe ( )

Definition at line 1004 of file predis.php.

punsubscribe ( )

Definition at line 1004 of file predis.php.

rewind ( )

Definition at line 1027 of file predis.php.

rewind ( )

Definition at line 1027 of file predis.php.

subscribe ( )

Definition at line 990 of file predis.php.

subscribe ( )

Definition at line 990 of file predis.php.

unsubscribe ( )

Definition at line 995 of file predis.php.

unsubscribe ( )

Definition at line 995 of file predis.php.

valid ( )

Definition at line 1046 of file predis.php.

valid ( )

Definition at line 1046 of file predis.php.


Field Documentation

$_isStillValid

Definition at line 959 of file predis.php.

$_position

Definition at line 959 of file predis.php.

$_subscriptions

Definition at line 959 of file predis.php.

const MESSAGE = 'message'

Definition at line 952 of file predis.php.

const PMESSAGE = 'pmessage'

Definition at line 953 of file predis.php.

const PSUBSCRIBE = 'psubscribe'

Definition at line 950 of file predis.php.

const PUNSUBSCRIBE = 'punsubscribe'

Definition at line 951 of file predis.php.

const STATUS_PSUBSCRIBED = 0x0100

Definition at line 957 of file predis.php.

const STATUS_SUBSCRIBED = 0x0010

Definition at line 956 of file predis.php.

const STATUS_VALID = 0x0001

Definition at line 955 of file predis.php.

const SUBSCRIBE = 'subscribe'

Definition at line 948 of file predis.php.

const UNSUBSCRIBE = 'unsubscribe'

Definition at line 949 of file predis.php.


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