Lines Matching refs:protocol
24 def __init__(self, protocol):
27 self.protocol = protocol
45 self.data_buffer += self.protocol.receive_data()
57 self.protocol.connect()
67 self.data_buffer += self.protocol.receive_data()
82 """ Private function to send data using the given protocol. """
86 bytes_send = self.protocol.send_data(data)
102 self.protocol.close()
125 if not blocking and not self.protocol.ready():
128 data = self.protocol.receive_data(MAX_BUFFER_SIZE)