Debian Codegraph @

jedi/third_party/typeshed/stdlib/asynchat.pyi

raw symbols SCIP
1 import asyncore
2 from abc import abstractmethod
3
4 class simple_producer:
5 def __init__(self, data: bytes, buffer_size: int = 512) -> None: ...
6 def more(self) -> bytes: ...
7
8 class async_chat(asyncore.dispatcher):
9 ac_in_buffer_size: int
10 ac_out_buffer_size: int
11 @abstractmethod
12 def collect_incoming_data(self, data: bytes) -> None: ...
13 @abstractmethod
14 def found_terminator(self) -> None: ...
15 def set_terminator(self, term: bytes | int | None) -> None: ...
16 def get_terminator(self) -> bytes | int | None: ...
17 def push(self, data: bytes) -> None: ...
18 def push_with_producer(self, producer: simple_producer) -> None: ...
19 def close_when_done(self) -> None: ...
20 def initiate_send(self) -> None: ...
21 def discard_buffers(self) -> None: ...