Commit Graph

20 Commits

Author SHA1 Message Date
Daniele Alessandri 42f4663050 Move Predis\ConnectionException to Predis\Network\ConnectionException. 2011-06-04 16:00:35 +02:00
Daniele Alessandri 3801928e0d Move Predis\ProtocolException to Predis\Protocol\ProtocolException. 2011-06-04 15:53:31 +02:00
Daniele Alessandri 667ce97213 Remove a useless return statement. 2011-06-04 15:27:36 +02:00
Daniele Alessandri 101fffbabe Do not check for the existence of a UNIX domain socket file in userland.
Now Predis throws an instance of Predis\ConnectionException when trying to
connect to an instance of Redis on a non-existent UNIX domain socket file.
2011-06-04 15:19:06 +02:00
Daniele Alessandri b35dcd515b Change the code layout of private/protected fields. 2011-06-02 23:49:46 +02:00
Daniele Alessandri 2012963ed0 Add the Predis\IReplyObject interface (used to mark returned objects that must skip reply parsing). 2011-05-21 11:04:15 +02:00
Daniele Alessandri 86df741937 Rename Predis\Utils to Predis\Helpers. 2011-04-05 16:37:36 +02:00
Daniele Alessandri 4ea8489110 Differentiate communication exceptions between connection and protocol exceptions. 2011-04-05 15:59:21 +02:00
Daniele Alessandri 503cc86f7d Move method to the base Predis\Network\ConnectionBase class. 2011-04-04 10:37:53 +02:00
Daniele Alessandri 9c0012837a Return the path of the file as the identifier for connections based on UNIX domain sockets. 2011-04-03 10:12:28 +02:00
Daniele Alessandri 3f720ad867 Add the new Predis\IConnectionParameters interface. 2011-03-31 15:12:52 +02:00
Daniele Alessandri de1a183315 Do some micro-optimizations to reduce the overhead of creating client instances. 2011-03-28 23:25:37 +02:00
Daniele Alessandri 82759cd6ec Change how parameters are handled internally. 2011-03-10 16:30:00 +01:00
Daniele Alessandri 190b687789 Change how network resources are handled internally and also exposed to subclasses. 2011-03-06 14:45:59 +01:00
Daniele Alessandri 0d5fb3319d Move Predis\Command and Predis\ICommand to the Predis\Commands namespace. 2011-03-04 19:21:41 +01:00
Daniele Alessandri d077aa67db Remove since it generates overhead for nothing really useful. 2011-03-04 13:05:28 +01:00
Daniele Alessandri 99129fbf91 Implement a new Predis\Network\PhpiredisConnection class that internally uses phpiredis. 2011-03-02 12:28:42 +01:00
Daniele Alessandri 89c311d0de Complete redesign of the network connection API, it should make much more sense now. 2011-03-02 10:02:29 +01:00
Daniele Alessandri 9fcdc73499 Fix a couple of namespacing issues with client exceptions in connection classes (ISSUE #24). 2011-02-26 23:19:13 +01:00
Jordi Boggiano 30f908cd85 Convert monolithic one-file-lib to a proper PSR-0 file tree 2011-02-21 14:17:57 +01:00