Campustream 1.0
A social network MQP for WPI
Connection Class Reference
Inheritance diagram for Connection:
IConnectionSingle IConnectionSingle IConnection IConnection IConnection IConnection TcpConnection TcpConnection

Public Member Functions

 __construct (ConnectionParameters $parameters, ResponseReader $reader=null)
 __destruct ()
 isConnected ()
 connect ()
 disconnect ()
 pushInitCommand (ICommand $command)
 executeCommand (ICommand $command)
 getSocket ()
 getResponseReader ()
 getParameters ()
 __toString ()
 __construct (ConnectionParameters $parameters, ResponseReader $reader=null)
 __destruct ()
 isConnected ()
 connect ()
 disconnect ()
 pushInitCommand (ICommand $command)
 executeCommand (ICommand $command)
 getSocket ()
 getResponseReader ()
 getParameters ()
 __toString ()

Data Fields

 $_socket
 $_initCmds
 $_reader

Protected Member Functions

 createResource ()
 onCommunicationException ($message, $code=null)
 createResource ()
 onCommunicationException ($message, $code=null)

Protected Attributes

 $_params

Detailed Description

Definition at line 1214 of file predis.php.


Constructor & Destructor Documentation

__construct ( ConnectionParameters parameters,
ResponseReader reader = null 
)

Reimplemented in TcpConnection, and TcpConnection.

Definition at line 1217 of file predis.php.

__destruct ( )

Reimplemented in TcpConnection, and TcpConnection.

Definition at line 1223 of file predis.php.

__construct ( ConnectionParameters parameters,
ResponseReader reader = null 
)

Reimplemented in TcpConnection, and TcpConnection.

Definition at line 1217 of file predis.php.

__destruct ( )

Reimplemented in TcpConnection, and TcpConnection.

Definition at line 1223 of file predis.php.


Member Function Documentation

__toString ( )

Definition at line 1279 of file predis.php.

__toString ( )

Definition at line 1279 of file predis.php.

connect ( )

Implements IConnection.

Reimplemented in TcpConnection, and TcpConnection.

Definition at line 1233 of file predis.php.

connect ( )

Implements IConnection.

Reimplemented in TcpConnection, and TcpConnection.

Definition at line 1233 of file predis.php.

createResource ( ) [abstract, protected]

Reimplemented in TcpConnection, and TcpConnection.

createResource ( ) [abstract, protected]

Reimplemented in TcpConnection, and TcpConnection.

disconnect ( )

Implements IConnection.

Definition at line 1240 of file predis.php.

disconnect ( )

Implements IConnection.

Definition at line 1240 of file predis.php.

executeCommand ( ICommand command)

Implements IConnection.

Definition at line 1250 of file predis.php.

executeCommand ( ICommand command)

Implements IConnection.

Definition at line 1250 of file predis.php.

getParameters ( )

Definition at line 1275 of file predis.php.

getParameters ( )

Definition at line 1275 of file predis.php.

getResponseReader ( )

Definition at line 1271 of file predis.php.

getResponseReader ( )

Definition at line 1271 of file predis.php.

getSocket ( )

Definition at line 1264 of file predis.php.

getSocket ( )

Definition at line 1264 of file predis.php.

isConnected ( )

Implements IConnection.

Definition at line 1227 of file predis.php.

isConnected ( )

Implements IConnection.

Definition at line 1227 of file predis.php.

onCommunicationException ( message,
code = null 
) [protected]

Definition at line 1258 of file predis.php.

onCommunicationException ( message,
code = null 
) [protected]

Definition at line 1258 of file predis.php.

pushInitCommand ( ICommand command)

Definition at line 1246 of file predis.php.

pushInitCommand ( ICommand command)

Definition at line 1246 of file predis.php.


Field Documentation

$_initCmds

Definition at line 1215 of file predis.php.

$_params [protected]

Definition at line 1215 of file predis.php.

$_reader

Definition at line 1215 of file predis.php.

$_socket

Definition at line 1215 of file predis.php.


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