ClientNetworkManager is the implementation of the ClientNetworkInterface. It manages the communications with the server and owns the client's socket.
More...
#include <client_network_manager.h>
ClientNetworkManager is the implementation of the ClientNetworkInterface. It manages the communications with the server and owns the client's socket.
◆ ClientNetworkManager() [1/3]
ClientNetworkManager::ClientNetworkManager |
( |
| ) |
|
|
defaultnoexcept |
◆ ClientNetworkManager() [2/3]
◆ ClientNetworkManager() [3/3]
◆ ~ClientNetworkManager()
ClientNetworkManager::~ClientNetworkManager |
( |
| ) |
|
|
overridedefaultnoexcept |
◆ ConnectToServer()
ReturnStatus ClientNetworkManager::ConnectToServer |
( |
const sf::IpAddress & | remote_address, |
|
|
unsigned short | remote_port, |
|
|
bool | blocking = true ) |
|
noexcept |
◆ DisconnectFromServer()
void ClientNetworkManager::DisconnectFromServer |
( |
| ) |
|
|
noexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ ReceivePacket()
PacketType ClientNetworkManager::ReceivePacket |
( |
sf::Packet & | packet | ) |
|
|
overridevirtualnoexcept |
◆ remote_address()
sf::IpAddress ClientNetworkManager::remote_address |
( |
| ) |
const |
|
inlinenoexcept |
◆ remote_port()
unsigned short ClientNetworkManager::remote_port |
( |
| ) |
const |
|
inlinenoexcept |
◆ SendPacket()
void ClientNetworkManager::SendPacket |
( |
sf::Packet & | packet | ) |
|
|
overridevirtualnoexcept |
The documentation for this class was generated from the following file: