All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
redis.connection.Connection Class Reference
Inheritance diagram for redis.connection.Connection:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 197 of file connection.py.


Constructor & Destructor Documentation

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.

Definition at line 215 of file connection.py.


Member Function Documentation

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.

Definition at line 221 of file connection.py.

Definition at line 267 of file connection.py.

def redis.connection.Connection.encode (   self,
  value 
)

Definition at line 312 of file connection.py.

Definition at line 251 of file connection.py.

def redis.connection.Connection.pack_command (   self,
  args 
)

Definition at line 322 of file connection.py.

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.


Member Data Documentation

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.

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


redis
Author(s): Daniel Stonier
autogenerated on Tue Jan 15 2013 17:43:13