| 152 | |
| 153 | |
| 154 | void Client::writeCommand(const Array& command, bool doFlush) |
| 155 | { |
| 156 | poco_assert(_output); |
| 157 | |
| 158 | std::string commandStr = command.toString(); |
| 159 | |
| 160 | _output->write(commandStr.c_str(), commandStr.length()); |
| 161 | if (doFlush) _output->flush(); |
| 162 | } |
| 163 | |
| 164 | |
| 165 | RedisType::Ptr Client::readReply() |