class_docstr: This is an abstract class.  You must derive from this class, and add
  the two methods collect_incoming_data() and found_terminator()
class_docstr_tok: ["This","is","an","abstract","class",".","You","must","derive","from","this","class",",","and","add","the","two","methods","collect_incoming_data","(",")","and","found_terminator","(",")"]
code: def __init__(self, sock=None, map=None):
      # for string terminator matching
      self.ac_in_buffer = b""
  
      # we use a list here rather than io.BytesIO for a few reasons...
      # del lst[:] is faster than bio.truncate(0)
      # lst = [] is faster than bio.truncate(0)
      self.incoming = []
  
      # we toss the use of the "simple producer" and replace it with
      # a pure deque, which the original fifo was a wrapping of
      self.producer_fifo = deque()
      asyncore.dispatcher.__init__(self, sock, map)
  
imports: import asyncore
  from collections import deque
  from warnings import _deprecated
label_desc: Use image node_id 1 to create a new async_chat object from inherited base classes: asyncore with example: obj = async_chat(sock, map)