def replyOver(self): self.logger.info("Unicast : Replying over") if self.socket.type == socket.SOCK_STREAM: try: self.socket.shutdown(socket.SHUT_RDWR) except: self.logger.info("Unicast : unable to shutdown socket") self.socket.close() report = Report(Identification.PROBE_ID) if not (self.msgReceived and self.msgSent): report.isSuccess = False self.logger.info("Unicast : Report created") return report
def replyOver(self): self.socket.close() report = Report(Identification.PROBE_ID) report.isSuccess = self.msgReceived return report
def replyOver(self): return Report(Identification.PROBE_ID)