parameters: (self, data)
docstring: Buffer received data, find TERMINATOR, call handle_packet
docstring_summary: Buffer received data, find TERMINATOR, call handle_packet
docstring_tokens: Buffer received data find TERMINATOR call handle_packet
function: def data_received(self, data):
          """Buffer received data, find TERMINATOR, call handle_packet"""
          self.buffer.extend(data)
          while self.TERMINATOR in self.buffer:
              packet, self.buffer = self.buffer.split(self.TERMINATOR, 1)
              self.handle_packet(packet)
function_tokens: def data_received ( self , data ) : self . buffer . extend ( data ) while self . TERMINATOR in self . buffer : packet , self . buffer = self . buffer . split ( self . TERMINATOR , 1 ) self . handle_packet ( packet )