Home | Trees | Index | Help |
---|
Package twisted :: Package internet :: Module unix :: Class Client |
|
Logger
--+ |Ephemeral
--+ |FileDescriptor
--+ |Connection
--+ |BaseClient
--+ | Client
Method Summary | |
---|---|
__init__(self,
filename,
connector,
reactor)
| |
__getstate__(self)
(inherited from Ephemeral )
| |
__setstate__(self,
state)
(inherited from Ephemeral )
| |
See abstract.FileDescriptor.connectionLost(). (inherited from BaseClient )
| |
(internal) Create a non-blocking socket using self.addressFamily, self.socketType. (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 )
| |
failIfNotConnected(self,
err)
(inherited from BaseClient )
| |
File Descriptor number for select(). (inherited from FileDescriptor )
| |
getHost(self)
| |
getPeer(self)
| |
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 )
| |
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 )
|
Class Variable Summary | |
---|---|
int |
addressFamily
|
int |
REQ_FLAGS
|
int |
socketType
|
Class Variable Details |
---|
addressFamily
|
REQ_FLAGS
|
socketType
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sat Feb 15 21:17:53 2003 | http://epydoc.sf.net |