Public Member Functions | |
def | __del__ |
def | __init__ |
def | on_connect |
def | on_disconnect |
def | parse_error |
def | read |
def | read_response |
Static Public Attributes | |
encoding = None | |
dictionary | EXCEPTION_CLASSES |
int | MAX_READ_LENGTH = 1000000 |
Private Attributes | |
_fp |
Definition at line 30 of file connection.py.
def redis.connection.PythonParser.__init__ | ( | self | ) |
Definition at line 40 of file connection.py.
def redis.connection.PythonParser.__del__ | ( | self | ) |
Definition at line 43 of file connection.py.
def redis.connection.PythonParser.on_connect | ( | self, | |
connection | |||
) |
Definition at line 49 of file connection.py.
def redis.connection.PythonParser.on_disconnect | ( | self | ) |
Definition at line 55 of file connection.py.
def redis.connection.PythonParser.parse_error | ( | self, | |
response | |||
) |
Definition at line 93 of file connection.py.
def redis.connection.PythonParser.read | ( | self, | |
length = None |
|||
) |
Read a line from the socket is no length is specified, otherwise read ``length`` bytes. Always strip away the newlines.
Definition at line 61 of file connection.py.
def redis.connection.PythonParser.read_response | ( | self | ) |
Definition at line 101 of file connection.py.
redis::connection.PythonParser::_fp [private] |
Definition at line 40 of file connection.py.
redis::connection.PythonParser::encoding = None [static] |
Definition at line 33 of file connection.py.
dictionary redis::connection.PythonParser::EXCEPTION_CLASSES [static] |
{ 'ERR': ResponseError, 'NOSCRIPT': NoScriptError, }
Definition at line 35 of file connection.py.
int redis::connection.PythonParser::MAX_READ_LENGTH = 1000000 [static] |
Definition at line 32 of file connection.py.