Pol  Revision:3cfda13
Pol::Core::NetworkManager Class Reference

#include <network.h>

+ Inheritance diagram for Pol::Core::NetworkManager:

Classes

struct  Memory
 

Public Member Functions

 NetworkManager ()
 
 ~NetworkManager ()
 
void deinialize ()
 
Memory estimateSize () const
 
void kill_disconnected_clients ()
 

Public Attributes

std::vector< Network::AuxService * > auxservices
 
std::unique_ptr< threadhelp::DynTaskThreadPoolauxthreadpool
 
std::vector< Network::IPRulebanned_ips
 
Clients clients
 
std::unique_ptr< Network::ClientTransmitclientTransmit
 
std::unique_ptr< MessageTypeFilterdisconnected_filter
 
std::array< Network::ExtMsgHandler, 256 > ext_handler_table
 
std::unique_ptr< MessageTypeFiltergame_filter
 
std::array< Network::MSG_HANDLER, 256 > handler
 
std::array< Network::MSG_HANDLER, 256 > handler_v2
 
char hostname [64]
 
Network::IOStats iostats
 
char ipaddr_str [64]
 
char lanaddr_str [64]
 
std::unique_ptr< MessageTypeFilterlogin_filter
 
std::vector< std::unique_ptr< Network::PacketHookData > > packet_hook_data
 
std::vector< std::unique_ptr< Network::PacketHookData > > packet_hook_data_v2
 
std::unique_ptr< Network::PacketsSingletonpacketsSingleton
 
Network::PolSocket polsocket
 
PolStats polstats
 
Network::IOStats queuedmode_iostats
 
Servers servers
 
std::unique_ptr< SQLServicesql_service
 
std::unique_ptr< Network::UOClientInterfaceuo_client_interface
 
UoClientGeneral uoclient_general
 
std::vector< UoClientListeneruoclient_listeners
 
UoClientProtocol uoclient_protocol
 

Detailed Description

Definition at line 42 of file network.h.

Constructor & Destructor Documentation

Pol::Core::NetworkManager::~NetworkManager ( )

Definition at line 73 of file network.cpp.

Member Function Documentation

Member Data Documentation

std::vector<Network::AuxService*> Pol::Core::NetworkManager::auxservices
std::vector<Network::IPRule> Pol::Core::NetworkManager::banned_ips
std::unique_ptr<MessageTypeFilter> Pol::Core::NetworkManager::disconnected_filter
std::array<Network::ExtMsgHandler, 256> Pol::Core::NetworkManager::ext_handler_table
char Pol::Core::NetworkManager::hostname[64]

Definition at line 93 of file network.h.

Referenced by NetworkManager().

Network::IOStats Pol::Core::NetworkManager::iostats

Definition at line 71 of file network.h.

Referenced by Pol::Core::process_data(), and Pol::Network::Client::transmit().

char Pol::Core::NetworkManager::ipaddr_str[64]
char Pol::Core::NetworkManager::lanaddr_str[64]
std::unique_ptr<MessageTypeFilter> Pol::Core::NetworkManager::login_filter

Definition at line 73 of file network.h.

Referenced by Pol::Core::MessageTypeFilter::createMessageFilter().

std::vector<std::unique_ptr<Network::PacketHookData> > Pol::Core::NetworkManager::packet_hook_data
std::vector<std::unique_ptr<Network::PacketHookData> > Pol::Core::NetworkManager::packet_hook_data_v2
std::unique_ptr<Network::PacketsSingleton> Pol::Core::NetworkManager::packetsSingleton
Network::PolSocket Pol::Core::NetworkManager::polsocket

Definition at line 103 of file network.h.

Referenced by Pol::Core::check_incoming_data(), deinialize(), and Pol::xmain_inner().

Network::IOStats Pol::Core::NetworkManager::queuedmode_iostats

Definition at line 72 of file network.h.

Referenced by Pol::Network::Client::transmit().

std::unique_ptr<Network::UOClientInterface> Pol::Core::NetworkManager::uo_client_interface
std::vector<UoClientListener> Pol::Core::NetworkManager::uoclient_listeners
UoClientProtocol Pol::Core::NetworkManager::uoclient_protocol

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