1#ifndef TCPSERVERHANDSHAKESTRATEGY_H
2#define TCPSERVERHANDSHAKESTRATEGY_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
Represents a network package.
Definition package.h:28
Definition tcpserverhandshakestrategy.h:25
void handle(Package package, Host *host) const override
Handles the TCP handshake process.
Definition tcpserverhandshakestrategy.cpp:8
virtual ~TCPServerHandshakeStrategy()=default
Virtual destructor to ensure correct cleanup for derived classes.
TCPServerHandshakeStrategy()=default
Default constructor.
Contains the IPackageStrategy interface definition.