def on_message(self, message_protocol_entity): if not self.error_ack: self.toUpper(ack_incoming_protocol_entity(message_protocol_entity)) self.toLower(message_protocol_entity)
def receive_ack(self): ack = ack_incoming_protocol_entity() self.toUpper(ack) return ack