PHP Interface Predis\Connection\CompositeConnectionInterface

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

Méthodes publiques

Méthode 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 méthode

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

readBuffer() public méthode

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

readLine() public méthode

Reads a line from the connection.
public readLine ( )

writeBuffer() public méthode

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