Package flumotion :: Package component :: Package misc :: Package porter :: Module porterclient :: Class FDPorterServer
[hide private]

type FDPorterServer

source code

                                  object --+        
                                           |        
    twisted.internet.tcp._TLSConnectionMixin --+    
                                               |    
                              object --+       |    
                                       |       |    
twisted.internet.abstract._ConsumerMixin --+   |    
                                           |   |    
                              object --+   |   |    
                                       |   |   |    
     twisted.internet.abstract._LogOwner --+   |    
                                           |   |    
    twisted.internet.abstract.FileDescriptor --+    
                                               |    
                                  object --+   |    
                                           |   |    
          twisted.internet.tcp._SocketCloser --+    
                                               |    
                                  object --+   |    
                                           |   |    
         twisted.internet.tcp._AbortingMixin --+    
                                               |    
                 twisted.internet.tcp.Connection --+
                                                   |
                                                  FDPorterServer

A connection class for use with passed FDs. Similar to tcp.Server, but gets the initial FD from a different source, obviously, and also passes along some data with the original connection.

Instance Methods [hide private]
 
__init__(self, sock, protocol, addr, additionalData) source code
 
getHost(self) source code
 
getPeer(self) source code

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

Inherited from twisted.internet.tcp._TLSConnectionMixin: __providedBy__

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

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

Inherited from twisted.internet.abstract._ConsumerMixin: registerProducer, unregisterProducer

Inherited from twisted.internet.abstract._LogOwner (private): _getLogPrefix

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

Inherited from twisted.internet.tcp._AbortingMixin: abortConnection

Class Variables [hide private]

Inherited from twisted.internet.tcp.Connection: __implemented__

Inherited from twisted.internet.tcp._TLSConnectionMixin: TLS

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

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

Instance Variables [hide private]

Inherited from twisted.internet.tcp.Connection: logstr

Inherited from twisted.internet.abstract._ConsumerMixin: producer, producerPaused, streamingProducer

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

Inherited from twisted.internet.tcp._AbortingMixin (private): _aborting

Method Details [hide private]

__init__(self, sock, protocol, addr, additionalData)
(Constructor)

source code 
Parameters:
  • reactor - An IReactorFDSet provider which this descriptor will use to get readable and writeable event notifications. If no value is given, the global reactor will be used.
Overrides: twisted.internet.abstract.FileDescriptor.__init__
(inherited documentation)