PHP Interface Predis\Connection\CompositeConnectionInterface

Author: Daniele Alessandri ([email protected])
Inheritance: extends Predis\Connection\NodeConnectionInterface
Exibir arquivo Open project: tillkruss/redis-object-cache Interface Usage Examples

Public Methods

Method Description
getProtocol ( ) Returns the protocol processor used by the connection.
readBuffer ( integer $length ) : string Reads the given number of bytes from the connection.
readLine ( ) Reads a line from the connection.
writeBuffer ( string $buffer ) Writes the buffer containing over the connection.

Method Details

getProtocol() public method

Returns the protocol processor used by the connection.
public getProtocol ( )

readBuffer() public method

 @param int $length Number of bytes to read from the connection.
public readBuffer ( integer $length ) : string
$length integer
return string

readLine() public method

Reads a line from the connection.
public readLine ( )

writeBuffer() public method

Writes the buffer containing over the connection.
public writeBuffer ( string $buffer )
$buffer string String buffer to be sent over the connection.