@ATMT.receive_condition(SELECTING)<EOL><INDENT>def receive_offer(self, pkt):<DEDENT>
logger.debug("<STR_LIT>")<EOL>if isoffer(pkt):<EOL><INDENT>logger.debug("<STR_LIT>")<EOL>self.offers.append(pkt)<EOL>if len(self.offers) >= MAX_OFFERS_COLLECTED:<EOL><INDENT>logger.debug("<STR_LIT>")<EOL>self.select_offer()<EOL>raise self.REQUESTING()<EOL><DEDENT>logger.debug("<STR_LIT>")<EOL>raise self.SELECTING()<EOL><DEDENT>
Receive offer on SELECTING state.