1#ifndef IPACKAGESTRATEGY_H
2#define IPACKAGESTRATEGY_H
Represents a network host that can communicate through routers.
Definition host.h:32
Interface for defining strategies to handle packages.
Definition ipackagestrategy.h:27
virtual ~IPackageStrategy()=default
Virtual destructor to ensure correct cleanup for derived classes.
IPackageStrategy()=default
Default constructor.
virtual void handle(Package package, Host *host) const =0
Abstract method for handling packages.
Represents a network package.
Definition package.h:28
The Host class implements a host in the network.
Contains the Package class definition.