Package flumotion :: Package twisted :: Module fdserver :: Class FDClient
[hide private]

Class FDClient

source code

           twisted.python.log.Logger --+                
                                       |                
  twisted.persisted.styles.Ephemeral --+                
                                       |                
                              object --+                
                                       |                
twisted.internet.abstract.FileDescriptor --+            
                                           |            
      twisted.internet.tcp._SocketCloser --+            
                                           |            
             twisted.internet.tcp.Connection --+        
                                               |        
                 twisted.internet.tcp.BaseClient --+    
                                                   |    
                        twisted.internet.unix.Client --+
                                                       |
                                                      FDClient

Instance Methods [hide private]
 
doRead(self)
Calls self.protocol.dataReceived with all available data.
source code

Inherited from twisted.internet.unix.Client: __init__, getHost, getPeer

Inherited from twisted.internet.tcp.BaseClient: connectionLost, createInternetSocket, doConnect, failIfNotConnected, resolveAddress, startTLS, stopConnecting

Inherited from twisted.internet.tcp.BaseClient (private): _connectDone, _finishInit, _setRealAddress

Inherited from twisted.internet.tcp.Connection: getHandle, getTcpKeepAlive, getTcpNoDelay, logPrefix, readConnectionLost, setTcpKeepAlive, setTcpNoDelay, writeSomeData

Inherited from twisted.internet.tcp.Connection (private): _closeWriteConnection, _startTLS

Inherited from twisted.internet.abstract.FileDescriptor: doWrite, fileno, loseConnection, loseWriteConnection, pauseProducing, registerProducer, resumeProducing, startReading, startWriting, stopConsuming, stopProducing, stopReading, stopWriting, unregisterProducer, write, writeConnectionLost, writeSequence

Inherited from twisted.internet.abstract.FileDescriptor (private): _postLoseConnection

Inherited from twisted.python.log.Logger: __providedBy__

Inherited from twisted.persisted.styles.Ephemeral: __getstate__, __setstate__

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Inherited from twisted.internet.tcp._SocketCloser (private): _closeSocket

Class Variables [hide private]

Inherited from twisted.internet.unix.Client: addressFamily

Inherited from twisted.internet.tcp.BaseClient: __implemented__, __provides__, socketType

Inherited from twisted.internet.tcp.Connection: TLS, logstr

Inherited from twisted.internet.abstract.FileDescriptor: SEND_LIMIT, bufferSize, connected, dataBuffer, disconnected, disconnecting, offset, producer, producerPaused, streamingProducer

Inherited from twisted.internet.abstract.FileDescriptor (private): _writeDisconnected, _writeDisconnecting

Inherited from twisted.internet.tcp._SocketCloser (private): _socketShutdownMethod

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

doRead(self)

source code 

Calls self.protocol.dataReceived with all available data.

This reads up to self.bufferSize bytes of data from its socket, then calls self.dataReceived(data) to process it. If the connection is not lost through an error in the physical recv(), this function will return the result of the dataReceived call.

Overrides: twisted.internet.abstract.FileDescriptor.doRead
(inherited documentation)