| Home | Trees | Index | Help |
|---|
| Package twisted :: Package internet :: Module ssl :: Class Client |
|
Logger --+
|
Ephemeral --+
|
FileDescriptor --+
|
Connection --+
|
Connection --+
|
Logger --+ |
| |
Ephemeral --+ |
| |
FileDescriptor --+ |
| |
Connection --+ |
| |
BaseClient --+ |
| |
Client --+
|
Client
| Method Summary | |
|---|---|
__init__(self,
host,
port,
bindAddress,
ctxFactory,
connector,
reactor)
| |
__getstate__(self)
(inherited from Ephemeral)
| |
__repr__(self)
(inherited from Client)
| |
__setstate__(self,
state)
(inherited from Ephemeral)
| |
See abstract.FileDescriptor.connectionLost(). (inherited from Connection)
| |
(internal) create an SSL socket | |
I connect the socket. (inherited from BaseClient)
| |
See tcp.Connection.doRead for details. (inherited from Connection)
| |
Called when data is available for writing. (inherited from Connection)
| |
failIfNotConnected(self,
err)
(inherited from BaseClient)
| |
File Descriptor number for select(). (inherited from FileDescriptor)
| |
Returns a tuple of ('SSL', hostname, port). | |
Returns a tuple of ('SSL', hostname, port). | |
Return the certificate for the peer. (inherited from Connection)
| |
getTcpNoDelay(self)
(inherited from Connection)
| |
log(self,
bytes)
(inherited from Logger)
| |
Return the prefix to log with when I own the logging thread. (inherited from Connection)
| |
Close the connection at the next available opportunity. (inherited from FileDescriptor)
| |
pauseProducing(self)
(inherited from FileDescriptor)
| |
Register to receive data from a producer. (inherited from FileDescriptor)
| |
resolveAddress(self)
(inherited from BaseClient)
| |
resumeProducing(self)
(inherited from FileDescriptor)
| |
setTcpNoDelay(self,
enabled)
(inherited from Connection)
| |
Start waiting for read availability. (inherited from FileDescriptor)
| |
Start waiting for write availability. (inherited from FileDescriptor)
| |
Stop attempt to connect. (inherited from BaseClient)
| |
Stop consuming data. (inherited from FileDescriptor)
| |
stopProducing(self)
(inherited from FileDescriptor)
| |
Stop waiting for read availability. (inherited from FileDescriptor)
| |
Stop waiting for write availability. (inherited from FileDescriptor)
| |
Stop consuming data from a producer, without disconnecting. (inherited from FileDescriptor)
| |
Reliably write some data. (inherited from FileDescriptor)
| |
writeSequence(self,
iovec)
(inherited from FileDescriptor)
| |
See tcp.Connection.writeSomeData for details. (inherited from Connection)
| |
Called to close our socket. (inherited from Connection)
| |
Called by base classes to continue to next stage of initialization. (inherited from BaseClient)
| |
_Logger__prefix(self)
(inherited from Logger)
| |
Gets called after loseConnection(), after buffered data is sent. (inherited from Connection)
| |
_setRealAddress(self,
address)
(inherited from BaseClient)
| |
| Method Details |
|---|
createInternetSocket(self)(internal) create an SSL socket |
getHost(self)Returns a tuple of ('SSL', hostname, port). This indicates the address from which I am connecting. |
getPeer(self)Returns a tuple of ('SSL', hostname, port). This indicates the address that I am connected to. |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 1.1 on Thu Apr 17 12:55:12 2003 | http://epydoc.sf.net |