Commit graph

20 commits

Author SHA1 Message Date
Christoph Heiss 0e7993c194 Completely rework and rewrite command line argument parsing.
Also fix some things: To actually set a variable to the value of the
argument, & clipp::value must be used, not .set().
2018-03-07 21:27:54 +01:00
Christoph Heiss 4b9bf8640f Add redlock implementation and test to demonstrate a distributed lock using redis. 2018-03-05 15:50:32 +01:00
Christoph Heiss f7683abf0b Add optional callback for messages on channels without handler. 2018-03-04 22:22:10 +01:00
Christoph Heiss 48b94e50d6 Pipelined client: Reject any pub/sub commnd. 2018-03-04 15:28:09 +01:00
Christoph Heiss cebc909cf1 Take the server-address in the format host[:port] instead of separatly. 2018-02-26 13:09:14 +01:00
Christoph Heiss 14c3d80861 Split out commandline-arguments parsing into each indiviual component. 2018-02-26 12:41:21 +01:00
Christoph Heiss 21cd407cdf Update documentation. 2018-02-26 12:05:58 +01:00
Christoph Heiss 4dcbd478fa Add support for the pub-sub mechanism. 2018-02-26 11:29:28 +01:00
Christoph Heiss 1233e6eb9d Do some chores and cleanup/restructure some code. 2018-02-23 16:24:34 +01:00
Christoph Heiss 0178cf9d5c Update documentation of RespParser. 2018-02-23 13:47:04 +01:00
Christoph Heiss 169e2c26c8 Add pipelined client. 2018-02-23 13:24:40 +01:00
Christoph Heiss 30f24e7d03 Small cleanups and commenting two constructors. 2018-02-23 13:23:20 +01:00
Christoph Heiss 8d1af09ca5 Fix not returning the result when using the integral-specilization template of command(). 2018-02-22 21:23:29 +01:00
Christoph Heiss f4e13cb016 Completely rewrite the response parser. 2018-02-22 17:04:19 +01:00
Christoph Heiss a224e9f2fc Fix serialization of RESP commands.
Since RESP commands never take an integer as argument due to ambiguity,
always serialize them as bulk strings.
2018-02-22 11:15:40 +01:00
Christoph Heiss fede599f1a Mark second constructor for RespClient as explicit. 2018-02-22 11:15:00 +01:00
Christoph Heiss b8ace60d4f Update inline documentation. 2018-01-31 15:06:05 +01:00
Christoph Heiss 087cacacc5 doc: RESP already stands for 'REdis Serialisation Procotol - no need for RAS syndrome. 2018-01-31 09:36:11 +01:00
Christoph Heiss dc4ab40ae5 Rename resply::Result::Type::ProtError to [..]::ProtocolError for clarifcation. 2018-01-31 09:35:58 +01:00
Christoph Heiss b3daaceb3a Initial commit. 2018-01-19 18:31:32 +01:00