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.
Definition at line 40 of file connection.py.
Definition at line 43 of file connection.py.
| def rocon_python_redis.connection.PythonParser.on_connect | ( | self, | |
| connection | |||
| ) |
Definition at line 49 of file connection.py.
Definition at line 55 of file connection.py.
| def rocon_python_redis.connection.PythonParser.parse_error | ( | self, | |
| response | |||
| ) |
Definition at line 93 of file connection.py.
| def rocon_python_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.
Definition at line 101 of file connection.py.
Definition at line 40 of file connection.py.
rocon_python_redis::connection.PythonParser::encoding = None [static] |
Definition at line 33 of file connection.py.
dictionary rocon_python_redis::connection.PythonParser::EXCEPTION_CLASSES [static] |
{
'ERR': ResponseError,
'NOSCRIPT': NoScriptError,
}
Definition at line 35 of file connection.py.
int rocon_python_redis::connection.PythonParser::MAX_READ_LENGTH = 1000000 [static] |
Definition at line 32 of file connection.py.