Mercurial > code > home > repos > light9
diff stubs/twisted/internet/abstract.pyi @ 1863:0f0ff27e55a3
stubs, mostly autogen or empty
Ignore-this: bc70818d2bc92bf022c65c3572b9775e
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sat, 25 May 2019 12:01:26 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stubs/twisted/internet/abstract.pyi Sat May 25 12:01:26 2019 +0000 @@ -0,0 +1,51 @@ +# 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): ...