Property | Type | Description | |
---|---|---|---|
$reader | * | ||
$serializer | * |
Method | Description | |
---|---|---|
__construct ( Predis\Protocol\RequestSerializerInterface $serializer = null, Predis\Protocol\ResponseReaderInterface $reader = null ) | ||
getRequestSerializer ( ) : Predis\Protocol\RequestSerializerInterface | Returns the request serializer used by the protocol processor. | |
getResponseReader ( ) : Predis\Protocol\ResponseReaderInterface | Returns the Response reader used by the protocol processor. | |
read ( Predis\Connection\CompositeConnectionInterface $connection ) | ||
setRequestSerializer ( Predis\Protocol\RequestSerializerInterface $serializer ) | Sets the request serializer used by the protocol processor. | |
setResponseReader ( Predis\Protocol\ResponseReaderInterface $reader ) | Sets the response reader used by the protocol processor. | |
write ( Predis\Connection\CompositeConnectionInterface $connection, Predis\Command\CommandInterface $command ) |
public __construct ( Predis\Protocol\RequestSerializerInterface $serializer = null, Predis\Protocol\ResponseReaderInterface $reader = null ) | ||
$serializer | Predis\Protocol\RequestSerializerInterface | Request serializer. |
$reader | Predis\Protocol\ResponseReaderInterface | Response reader. |
public getRequestSerializer ( ) : Predis\Protocol\RequestSerializerInterface | ||
return | Predis\Protocol\RequestSerializerInterface |
public getResponseReader ( ) : Predis\Protocol\ResponseReaderInterface | ||
return | Predis\Protocol\ResponseReaderInterface |
public read ( Predis\Connection\CompositeConnectionInterface $connection ) | ||
$connection | Predis\Connection\CompositeConnectionInterface |
public setRequestSerializer ( Predis\Protocol\RequestSerializerInterface $serializer ) | ||
$serializer | Predis\Protocol\RequestSerializerInterface | Request serializer. |
public setResponseReader ( Predis\Protocol\ResponseReaderInterface $reader ) | ||
$reader | Predis\Protocol\ResponseReaderInterface | Response reader. |
public write ( Predis\Connection\CompositeConnectionInterface $connection, Predis\Command\CommandInterface $command ) | ||
$connection | Predis\Connection\CompositeConnectionInterface | |
$command | Predis\Command\CommandInterface |