Mercurial > code > home > repos > light9
view stubs/twisted/internet/abstract.pyi @ 2123:c4427fd59306
port some of ascoltami into lit
author | drewp@bigasterisk.com |
---|---|
date | Thu, 02 Jun 2022 23:24:09 -0700 |
parents | 0f0ff27e55a3 |
children |
line wrap: on
line source
# Stubs for twisted.internet.abstract (Python 3) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any, Optional class _ConsumerMixin: producer: Any = ... producerPaused: bool = ... streamingProducer: bool = ... def startWriting(self) -> None: ... def registerProducer(self, producer: Any, streaming: Any) -> None: ... def unregisterProducer(self) -> None: ... class _LogOwner: def logPrefix(self): ... class FileDescriptor(_ConsumerMixin, _LogOwner): connected: int = ... disconnected: int = ... disconnecting: int = ... dataBuffer: bytes = ... offset: int = ... SEND_LIMIT: Any = ... reactor: Any = ... def __init__(self, reactor: Optional[Any] = ...) -> None: ... producer: Any = ... def connectionLost(self, reason: Any) -> None: ... def writeSomeData(self, data: Any) -> None: ... def doRead(self) -> None: ... producerPaused: bool = ... def doWrite(self): ... def writeConnectionLost(self, reason: Any) -> None: ... def readConnectionLost(self, reason: Any) -> None: ... def write(self, data: Any) -> None: ... def writeSequence(self, iovec: Any) -> None: ... def loseConnection(self, _connDone: Any = ...) -> None: ... def loseWriteConnection(self) -> None: ... def stopReading(self) -> None: ... def stopWriting(self) -> None: ... def startReading(self) -> None: ... def startWriting(self) -> None: ... bufferSize: Any = ... def stopConsuming(self) -> None: ... def resumeProducing(self) -> None: ... def pauseProducing(self) -> None: ... def stopProducing(self) -> None: ... def fileno(self): ... def isIPAddress(addr: Any, family: Any = ...): ... def isIPv6Address(addr: Any): ...