Strategy class for handling DNS packages.
Definition dnsstrategy.h:25
virtual ~DNSStrategy()=default
Virtual destructor for cleanup and to allow for polymorphism.
DNSStrategy()=default
Default constructor.
void handle(Package package, Host *host) const override
Handles the DNS package.
Definition dnsstrategy.cpp:9
Represents a network host that can communicate through routers.
Definition host.h:32
Interface for defining strategies to handle packages.
Definition ipackagestrategy.h:27
Represents a network package.
Definition package.h:28
Contains the IPackageStrategy interface definition.