Lines Matching refs:data
81 def __send_data(self, data):
82 """ Private function to send data using the given protocol. """
83 size = len(data)
86 bytes_send = self.protocol.send_data(data)
88 data = data[bytes_send:]
114 raise Exception("Unexpected data frame")
118 raise Exception("Unexpected data frame")
128 data = self.protocol.receive_data(MAX_BUFFER_SIZE)
130 if not data:
133 self.data_buffer += data