Home | Trees | Index | Help |
---|
Package twisted :: Package internet :: Module tcp :: Class TCPClient |
|
Logger
--+ |FileDescriptor
--+ |Ephemeral
--+ |Connection
--+ |BaseClient
--+ | TCPClient
Client
Method Summary | |
---|---|
__init__(self,
host,
port,
bindAddress,
connector,
reactor)
| |
(inherited from Ephemeral )
| |
(inherited from BaseClient )
| |
(inherited from Ephemeral )
| |
See abstract.FileDescriptor.connectionLost(). (inherited from BaseClient )
| |
(internal) Create an AF_INET socket. (inherited from BaseClient )
| |
I connect the socket. (inherited from BaseClient )
| |
Calls self.protocol.dataReceived with all available data. (inherited from Connection )
| |
Called when data is available for writing. (inherited from FileDescriptor )
| |
(inherited from BaseClient )
| |
File Descriptor number for select(). (inherited from FileDescriptor )
| |
Returns a tuple of ('INET', hostname, port). (inherited from BaseClient )
| |
Returns a tuple of ('INET', hostname, port). (inherited from BaseClient )
| |
(inherited from Connection )
| |
(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 )
| |
(inherited from FileDescriptor )
| |
Register to receive data from a producer. (inherited from FileDescriptor )
| |
(inherited from BaseClient )
| |
(inherited from FileDescriptor )
| |
(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 )
| |
(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 )
| |
(inherited from FileDescriptor )
| |
Connection.writeSomeData(data) -> #of bytes written | CONNECTION_LOST This writes as much data as possible to the socket and returns either the number of bytes read (which is positive) or a connection error code (which is negative) (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 )
| |
(inherited from Logger )
| |
Called after a loseConnection(), when all data has been written. (inherited from FileDescriptor )
| |
(inherited from BaseClient )
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:28:15 2003 | http://epydoc.sf.net |