1#ifndef TCPCLIENTCONNECTIONCLOSESTRATEGY_H
2#define TCPCLIENTCONNECTIONCLOSESTRATEGY_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
Implements the client-side TCP connection close strategy.
Definition tcpclientconnectionclosestrategy.h:25
virtual ~TCPClientConnectionCloseStrategy()=default
Default destructor.
void handle(Package package, Host *host) const override
Handles the package to close the connection.
Definition tcpclientconnectionclosestrategy.cpp:9
TCPClientConnectionCloseStrategy()=default
Default constructor.
Contains the IPackageStrategy interface definition.