class documentation
class AdoptedStreamServerEndpoint: (source)
Constructor: AdoptedStreamServerEndpoint(reactor, fileno, addressFamily)
Implements interfaces: twisted.internet.interfaces.IStreamServerEndpoint
An endpoint for listening on a file descriptor initialized outside of Twisted.
| Method | __init__ |
No summary |
| Method | listen |
Implement IStreamServerEndpoint.listen to start listening on, and then close, self._fileno. |
| Instance Variable | address |
Undocumented |
| Instance Variable | fileno |
Undocumented |
| Instance Variable | reactor |
Undocumented |
| Class Variable | _set |
Undocumented |
| Instance Variable | _used |
A bool indicating whether this endpoint has been used to listen with a factory yet. True if so. |
| Parameters | |
| reactor | An IReactorSocket provider. |
| fileno | An integer file descriptor corresponding to a listening SOCK_STREAM socket. |
| address | The address family of the socket given by fileno. |