Binary scripting API is tested

This commit is contained in:
Ivo Ramirez
2011-12-15 17:56:14 +01:00
committed by ivowiblo
parent 96d405a6e3
commit 9bf19c6237
4 changed files with 30 additions and 5 deletions

View File

@@ -205,6 +205,13 @@ public class Connection {
pipelinedCommands--;
return (List<Object>) protocol.read(inputStream);
}
@SuppressWarnings("unchecked")
public List<Long> getIntegerMultiBulkReply() {
flush();
pipelinedCommands--;
return (List<Long>) protocol.read(inputStream);
}
public List<Object> getAll() {
return getAll(0);