Implemented AUTH

This commit is contained in:
Jonathan Leibiusky
2010-08-03 23:47:52 -03:00
parent 2131265436
commit b4862828b0
12 changed files with 50 additions and 186 deletions

View File

@@ -417,4 +417,8 @@ public class Client extends Connection {
public void brpop(String[] args) throws JedisException {
sendCommand("BRPOP", args);
}
public void auth(String password) throws JedisException {
sendCommand("AUTH", password);
}
}