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

Class FDPorterServer

source code

           twisted.python.log.Logger --+        
                                       |        
  twisted.persisted.styles.Ephemeral --+        
                                       |        
                              object --+        
                                       |        
twisted.internet.abstract.FileDescriptor --+    
                                           |    
      twisted.internet.tcp._SocketCloser --+    
                                           |    
             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)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
getHost(self) source code
 
getPeer(self) source code

Inherited from twisted.internet.tcp.Connection: connectionLost, doRead, getHandle, getTcpKeepAlive, getTcpNoDelay, logPrefix, readConnectionLost, setTcpKeepAlive, setTcpNoDelay, startTLS, 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.tcp.Connection: TLS, __implemented__, __provides__, 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]

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

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)