1565 self.__session = session
1566 self.__thread = threading.Thread(target=self.run)
1567 self.__thread.setDaemon(True)
1568 self.__thread.setName("session-packet-receiver")1569 self.__thread.start()
1570
1571 def stop(self) -> None:
1564 def __init__(self, session):
1565 self.__session = session
1566 self.__thread = threading.Thread(target=self.run)
1567 self.__thread.setDaemon(True)1568 self.__thread.setName("session-packet-receiver")
1569 self.__thread.start()
1570
The method is marked as deprecated and will be removed in a future version of Python. Consider looking for an alternative in the documentation.