| Trees | Index | Help |
|---|
| Package twisted :: Package internet :: Module base :: Class BasePort |
|
Ephemeral--+ |Logger--+ |object--+ |FileDescriptor--+ | BasePort
PortBasic implementation of a ListeningPort.
Note: This does not actually implement IListeningPort.| Method Summary | |
|---|---|
createInternetSocket(self)
| |
Raises a RuntimeError | |
| Inherited from FileDescriptor | |
| |
The connection was lost. | |
| |
File Descriptor number for select(). | |
Close the connection at the next available opportunity. | |
| |
| |
| |
Register to receive data from a producer. | |
| |
Start waiting for read availability. | |
Start waiting for write availability. | |
Stop consuming data. | |
| |
Stop waiting for read availability. | |
Stop waiting for write availability. | |
Stop consuming data from a producer, without disconnecting. | |
Reliably write some data. | |
| |
| |
Write as much as possible of the given data, immediately. | |
| |
Called after a loseConnection(), when all data has been written. | |
| Inherited from Logger | |
Override this method to insert custom logging behavior. | |
| Inherited from Ephemeral | |
| |
| |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Class Variable Summary | |
|---|---|
Implements |
__implemented__ = <implementedBy twisted.internet.base.B...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
NoneType |
addressFamily = None |
NoneType |
socketType = None |
| Inherited from FileDescriptor | |
int |
bufferSize = 65536 |
int |
connected = 0 |
str |
dataBuffer = ''
|
int |
disconnected = 0 |
int |
disconnecting = 0 |
int |
offset = 0 |
NoneType |
producer = None |
int |
producerPaused = 0 |
int |
SEND_LIMIT = 131072 |
int |
streamingProducer = 0 |
bool |
_writeDisconnected = False
|
bool |
_writeDisconnecting = False
|
| Inherited from Logger | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
| Method Details |
|---|
doWrite(self)Raises a RuntimeError |
| Class Variable Details |
|---|
__implemented__
|
__provides__
|
addressFamily
|
socketType
|
| Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sun Oct 26 16:39:17 2008 | http://epydoc.sf.net |