def handlePUBACK(self, response):
<EOL>try:<EOL><INDENT>request = self.factory.windowPublish[self.addr][response.msgId]<EOL><DEDENT>except KeyError as e:<EOL><INDENT>log.debug("<STR_LIT>", packet="<STR_LIT>", response=response)<EOL><DEDENT>else:<EOL><INDENT>log.debug("<STR_LIT>", packet="<STR_LIT>", response=response)<EOL>request.alarm.cancel()<EOL>request.deferred.callback(request.msgId)<EOL>del self.factory.windowPublish[self.addr][response.msgId]<EOL>self._refillPublish(dup=False)<EOL><DEDENT>
Handle PUBACK control packet received (QoS=1).