PHP 클래스 Predis\Protocol\Text\CompositeProtocolProcessor

저자: Daniele Alessandri ([email protected])
상속: implements Predis\Protocol\ProtocolProcessorInterface
파일 보기 프로젝트 열기: tillkruss/redis-object-cache 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$reader *
$serializer *

공개 메소드들

메소드 설명
__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 )

메소드 상세

__construct() 공개 메소드

public __construct ( Predis\Protocol\RequestSerializerInterface $serializer = null, Predis\Protocol\ResponseReaderInterface $reader = null )
$serializer Predis\Protocol\RequestSerializerInterface Request serializer.
$reader Predis\Protocol\ResponseReaderInterface Response reader.

getRequestSerializer() 공개 메소드

Returns the request serializer used by the protocol processor.
public getRequestSerializer ( ) : Predis\Protocol\RequestSerializerInterface
리턴 Predis\Protocol\RequestSerializerInterface

getResponseReader() 공개 메소드

Returns the Response reader used by the protocol processor.
public getResponseReader ( ) : Predis\Protocol\ResponseReaderInterface
리턴 Predis\Protocol\ResponseReaderInterface

read() 공개 메소드

public read ( Predis\Connection\CompositeConnectionInterface $connection )
$connection Predis\Connection\CompositeConnectionInterface

setRequestSerializer() 공개 메소드

Sets the request serializer used by the protocol processor.
public setRequestSerializer ( Predis\Protocol\RequestSerializerInterface $serializer )
$serializer Predis\Protocol\RequestSerializerInterface Request serializer.

setResponseReader() 공개 메소드

Sets the response reader used by the protocol processor.
public setResponseReader ( Predis\Protocol\ResponseReaderInterface $reader )
$reader Predis\Protocol\ResponseReaderInterface Response reader.

write() 공개 메소드

public write ( Predis\Connection\CompositeConnectionInterface $connection, Predis\Command\CommandInterface $command )
$connection Predis\Connection\CompositeConnectionInterface
$command Predis\Command\CommandInterface

프로퍼티 상세

$reader 보호되어 있는 프로퍼티

*
protected $reader

$serializer 보호되어 있는 프로퍼티

*
protected $serializer