Strategy class for handling HTTP packages.
Definition httpstrategy.h:26
HTTPStrategy()=default
Default constructor.
void handle(Package package, Host *host) const override
Manages the HTTP package.
Definition httpstrategy.cpp:9
virtual ~HTTPStrategy()=default
Virtual destructor to ensure correct cleanup and facilitate polymorphism.
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.