Package wtf :: Package impl :: Module scgi :: Class SCGIConnection
[hide private]
[frames] | no frames]

Class SCGIConnection

source code

object --+
         |
        SCGIConnection

SCGI connection
Instance Methods [hide private]
 
__init__(self, connection)
Initialization
source code
 
__del__(self) source code
 
close(self)
Close the streams
source code
str
read_netstring(self)
Read "netstring" from connection
source code
int
_netstring_size(self)
Read netstring size from connection
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
stream.GenericStream reader
Connection read stream
callable settimeout
Timeout setter
stream.GenericStream writer
Connection write stream
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, connection)
(Constructor)

source code 
Initialization
Parameters:
Overrides: object.__init__

read_netstring(self)

source code 
Read "netstring" from connection
Returns: str
The netstring value
Raises:

_netstring_size(self)

source code 
Read netstring size from connection
Returns: int
The netstring size
Raises: