| NetSim 1.0.0
    An educational network simulation software for students | 
#include <tcpserverhandshakestrategy.h>


| Public Member Functions | |
| TCPServerHandshakeStrategy ()=default | |
| Default constructor. | |
| virtual | ~TCPServerHandshakeStrategy ()=default | 
| Virtual destructor to ensure correct cleanup for derived classes. | |
| void | handle (Package package, Host *host) const override | 
| Handles the TCP handshake process. | |
|  Public Member Functions inherited from NetSim::IPackageStrategy | |
| IPackageStrategy ()=default | |
| Default constructor. | |
| virtual | ~IPackageStrategy ()=default | 
| Virtual destructor to ensure correct cleanup for derived classes. | |
| virtual void | handle (Package package, Host *host) const =0 | 
| Abstract method for handling packages. | |
| 
 | default | 
Default constructor.
Establishes a new instance of the TCPHandshakeStrategy.
| 
 | virtualdefault | 
Virtual destructor to ensure correct cleanup for derived classes.
Ensures that derived strategy objects related to TCP handshake are properly destroyed.
Handles the TCP handshake process.
| package | The package containing handshake details. | 
| host | The context in which the strategy is invoked. | 
Based on the incoming package details, this method will generate the appropriate handshake packets (e.g., SYN, SYN-ACK) and route them through the network simulation.
Implements NetSim::IPackageStrategy.
