1 from asyncio import transports
\r
2 from typing import List, Text, Tuple, Union
\r
8 def connection_made(self, transport: transports.BaseTransport) -> None: ...
\r
9 def connection_lost(self, exc: Exception) -> None: ...
\r
10 def pause_writing(self) -> None: ...
\r
11 def resume_writing(self) -> None: ...
\r
13 class Protocol(BaseProtocol):
\r
14 def data_received(self, data: bytes) -> None: ...
\r
15 def eof_received(self) -> bool: ...
\r
17 class DatagramProtocol(BaseProtocol):
\r
18 def datagram_received(self, data: Union[bytes, Text], addr: Tuple[str, int]) -> None: ...
\r
19 def error_received(self, exc: Exception) -> None: ...
\r
21 class SubprocessProtocol(BaseProtocol):
\r
22 def pipe_data_received(self, fd: int, data: Union[bytes, Text]) -> None: ...
\r
23 def pipe_connection_lost(self, fd: int, exc: Exception) -> None: ...
\r
24 def process_exited(self) -> None: ...
\r