| Home | Trees | Index | Help |
|
|---|
| Package twisted :: Package internet :: Module protocol :: Class FileWrapper |
|
FakeTransportA wrapper around a file-like object to make it behave as a Transport.
This doesn't actually stream the file to the attached protocol, and is thus useful mainly as a utility for debugging protocols.| Method Summary | |
|---|---|
__init__(self,
file)
| |
getHost(self)
| |
getPeer(self)
| |
handleException(self)
| |
loseConnection(self)
| |
pauseProducing(self)
| |
From abstract.FileDescriptor | |
resumeProducing(self)
| |
stopConsuming(self)
| |
stopProducing(self)
| |
unregisterProducer(self)
| |
write(self,
data)
| |
writeSequence(self,
iovec)
| |
_checkProducer(self)
| |
| Class Variable Summary | |
|---|---|
Implements |
__implemented__ = <implementedBy twisted.internet.protoc...
|
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
int |
closed = 0 |
int |
disconnecting = 0 |
NoneType |
producer = None |
int |
streamingProducer = 0 |
| Method Details |
|---|
registerProducer(self, producer, streaming)From abstract.FileDescriptor |
| Class Variable Details |
|---|
__implemented__
|
__providedBy__
|
__provides__
|
closed
|
disconnecting
|
producer
|
streamingProducer
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sun Oct 1 10:49:46 2006 | http://epydoc.sf.net |