The infectious period of hosts