mirror of
https://github.com/predis/predis.git
synced 2026-10-17 17:25:56 +00:00
18 lines
479 B
PHP
18 lines
479 B
PHP
<?php
|
|
|
|
namespace Predis\Network;
|
|
|
|
use Predis\ICommand;
|
|
use Predis\Protocols\IRedisProtocol;
|
|
|
|
interface IConnectionSingle extends IConnection {
|
|
public function getParameters();
|
|
public function getProtocol();
|
|
public function setProtocol(IRedisProtocol $protocol);
|
|
public function __toString();
|
|
public function writeBytes($buffer);
|
|
public function readBytes($length);
|
|
public function readLine();
|
|
public function pushInitCommand(ICommand $command);
|
|
}
|