Public Member Functions | |
def | __del__ |
def | __init__ |
def | connect |
def | disconnect |
def | encode |
def | on_connect |
def | pack_command |
def | read_response |
def | send_command |
def | send_packed_command |
Public Attributes | |
db | |
decode_responses | |
encoding | |
encoding_errors | |
host | |
password | |
pid | |
port | |
socket_timeout | |
Private Member Functions | |
def | _connect |
def | _error_message |
Private Attributes | |
_parser | |
_sock |
Definition at line 197 of file connection.py.
def redis.connection.Connection.__init__ | ( | self, | |
host = 'localhost' , |
|||
port = 6379 , |
|||
db = 0 , |
|||
password = None , |
|||
socket_timeout = None , |
|||
encoding = 'utf-8' , |
|||
encoding_errors = 'strict' , |
|||
decode_responses = False , |
|||
parser_class = DefaultParser |
|||
) |
Definition at line 199 of file connection.py.
def redis.connection.Connection.__del__ | ( | self | ) |
Definition at line 215 of file connection.py.
def redis.connection.Connection._connect | ( | self | ) | [private] |
Reimplemented in redis.connection.UnixDomainSocketConnection.
Definition at line 234 of file connection.py.
def redis.connection.Connection._error_message | ( | self, | |
exception | |||
) | [private] |
Reimplemented in redis.connection.UnixDomainSocketConnection.
Definition at line 241 of file connection.py.
def redis.connection.Connection.connect | ( | self | ) |
Definition at line 221 of file connection.py.
def redis.connection.Connection.disconnect | ( | self | ) |
Definition at line 267 of file connection.py.
def redis.connection.Connection.encode | ( | self, | |
value | |||
) |
Definition at line 312 of file connection.py.
def redis.connection.Connection.on_connect | ( | self | ) |
Definition at line 251 of file connection.py.
def redis.connection.Connection.pack_command | ( | self, | |
args | |||
) |
Definition at line 322 of file connection.py.
def redis.connection.Connection.read_response | ( | self | ) |
Definition at line 301 of file connection.py.
def redis.connection.Connection.send_command | ( | self, | |
args | |||
) |
Definition at line 297 of file connection.py.
def redis.connection.Connection.send_packed_command | ( | self, | |
command | |||
) |
Definition at line 278 of file connection.py.
redis::connection.Connection::_parser [private] |
Reimplemented in redis.connection.UnixDomainSocketConnection.
Definition at line 199 of file connection.py.
redis::connection.Connection::_sock [private] |
Reimplemented in redis.connection.UnixDomainSocketConnection.
Definition at line 199 of file connection.py.
Reimplemented in redis.connection.UnixDomainSocketConnection.
Definition at line 199 of file connection.py.
Reimplemented in redis.connection.UnixDomainSocketConnection.
Definition at line 199 of file connection.py.
Reimplemented in redis.connection.UnixDomainSocketConnection.
Definition at line 199 of file connection.py.
Reimplemented in redis.connection.UnixDomainSocketConnection.
Definition at line 199 of file connection.py.
Definition at line 199 of file connection.py.
Reimplemented in redis.connection.UnixDomainSocketConnection.
Definition at line 199 of file connection.py.
Reimplemented in redis.connection.UnixDomainSocketConnection.
Definition at line 199 of file connection.py.
Definition at line 199 of file connection.py.
Reimplemented in redis.connection.UnixDomainSocketConnection.
Definition at line 199 of file connection.py.