| Home | Trees | Index | Help |
|---|
| Package twisted :: Package internet :: Module tcp :: Class BaseClient |
|
Logger --+
|
FileDescriptor --+
|
Ephemeral --+
|
Connection --+
|
BaseClient
TCPClient,
UNIXClient| Method Summary | |
|---|---|
(inherited from Connection)
| |
(inherited from Ephemeral)
| |
__repr__(self)
| |
(inherited from Ephemeral)
| |
See abstract.FileDescriptor.connectionLost(). | |
(internal) Create an AF_INET socket. | |
I connect the socket. | |
Calls self.protocol.dataReceived with all available data. (inherited from Connection)
| |
Called when data is available for writing. (inherited from FileDescriptor)
| |
failIfNotConnected(self,
err)
| |
File Descriptor number for select(). (inherited from FileDescriptor)
| |
Returns a tuple of ('INET', hostname, port). | |
Returns a tuple of ('INET', hostname, port). | |
(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)
| |
resolveAddress(self)
| |
(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. | |
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)
| |
| Method Details |
|---|
connectionLost(self, reason)See abstract.FileDescriptor.connectionLost().
|
createInternetSocket(self)(internal) Create an AF_INET socket. |
doConnect(self)I connect the socket. Then, call the protocol's makeConnection, and start waiting for data. |
getHost(self)Returns a tuple of ('INET', hostname, port). This indicates the address from which I am connecting. |
getPeer(self)Returns a tuple of ('INET', hostname, port). This indicates the address that I am connected to. I implement twisted.protocols.protocol.Transport. |
stopConnecting(self)Stop attempt to connect. |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:25:41 2003 | http://epydoc.sf.net |