Network code documentation for my turn-based game 1.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ClientNetworkInterface Class Referenceabstract

ClientNetworkInterface is an interface to communicates with a server. More...

#include <client_network_interface.h>

Inheritance diagram for ClientNetworkInterface:
ClientNetworkManager

Public Member Functions

 ClientNetworkInterface () noexcept=default
 
 ClientNetworkInterface (ClientNetworkInterface &&other) noexcept=default
 
ClientNetworkInterfaceoperator= (ClientNetworkInterface &&other) noexcept=default
 
 ClientNetworkInterface (const ClientNetworkInterface &other) noexcept=default
 
ClientNetworkInterfaceoperator= (const ClientNetworkInterface &other) noexcept=default
 
virtual ~ClientNetworkInterface () noexcept=default
 
virtual void SendPacket (sf::Packet &packet) noexcept=0
 
virtual PacketType ReceivePacket (sf::Packet &packet) noexcept=0
 

Detailed Description

ClientNetworkInterface is an interface to communicates with a server.

Constructor & Destructor Documentation

◆ ClientNetworkInterface() [1/3]

ClientNetworkInterface::ClientNetworkInterface ( )
defaultnoexcept

◆ ClientNetworkInterface() [2/3]

ClientNetworkInterface::ClientNetworkInterface ( ClientNetworkInterface && other)
defaultnoexcept

◆ ClientNetworkInterface() [3/3]

ClientNetworkInterface::ClientNetworkInterface ( const ClientNetworkInterface & other)
defaultnoexcept

◆ ~ClientNetworkInterface()

virtual ClientNetworkInterface::~ClientNetworkInterface ( )
virtualdefaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

ClientNetworkInterface & ClientNetworkInterface::operator= ( ClientNetworkInterface && other)
defaultnoexcept

◆ operator=() [2/2]

ClientNetworkInterface & ClientNetworkInterface::operator= ( const ClientNetworkInterface & other)
defaultnoexcept

◆ ReceivePacket()

virtual PacketType ClientNetworkInterface::ReceivePacket ( sf::Packet & packet)
pure virtualnoexcept

Implemented in ClientNetworkManager.

◆ SendPacket()

virtual void ClientNetworkInterface::SendPacket ( sf::Packet & packet)
pure virtualnoexcept

Implemented in ClientNetworkManager.


The documentation for this class was generated from the following file: