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

Class FDPorterServer

source code

                              object --+            
                                       |            
twisted.internet.abstract._ConsumerMixin --+        
                                           |        
    twisted.internet.abstract.FileDescriptor --+    
                                               |    
                                  object --+   |    
                                           |   |    
          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 help(type(x)) for signature
source code
 
getHost(self) source code
 
getPeer(self) source code

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

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

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

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

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

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

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

Class Variables [hide private]

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

Inherited from twisted.internet.tcp.Connection (private): _tlsWaiting

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

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

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

Instance Variables [hide private]

Inherited from twisted.internet.tcp.Connection: logstr

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

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 help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)