PHP Class Predis\Connection\CompositeStreamConnection

Author: Daniele Alessandri ([email protected])
Inheritance: extends StreamConnection, implements Predis\Connection\CompositeConnectionInterface
Datei anzeigen Open project: tillkruss/redis-object-cache

Protected Properties

Property Type Description
$protocol

Public Methods

Method Description
__construct ( Predis\Connection\ParametersInterface $parameters, Predis\Protocol\ProtocolProcessorInterface $protocol = null )
__sleep ( )
getProtocol ( )
read ( )
readBuffer ( $length )
readLine ( )
writeBuffer ( $buffer )
writeRequest ( Predis\Command\CommandInterface $command )

Method Details

__construct() public method

public __construct ( Predis\Connection\ParametersInterface $parameters, Predis\Protocol\ProtocolProcessorInterface $protocol = null )
$parameters Predis\Connection\ParametersInterface Initialization parameters for the connection.
$protocol Predis\Protocol\ProtocolProcessorInterface Protocol processor.

__sleep() public method

public __sleep ( )

getProtocol() public method

public getProtocol ( )

read() public method

public read ( )

readBuffer() public method

public readBuffer ( $length )

readLine() public method

public readLine ( )

writeBuffer() public method

public writeBuffer ( $buffer )

writeRequest() public method

public writeRequest ( Predis\Command\CommandInterface $command )
$command Predis\Command\CommandInterface

Property Details

$protocol protected_oe property

protected $protocol