mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
In summary: * Make functions in clientthread.cpp depend on ThreadedClient. * Wrap session, packet logging and cryptengine * Other small changes to make ThreadedClient private
21 lines
613 B
C++
21 lines
613 B
C++
#ifndef CLIENTTHREAD_H
|
|
#define CLIENTTHREAD_H
|
|
|
|
namespace Pol::Network
|
|
{
|
|
class Client;
|
|
class ThreadedClient;
|
|
} // namespace Pol::Network
|
|
|
|
namespace Pol::Core
|
|
{
|
|
bool client_io_thread( Network::Client* client, bool login );
|
|
bool process_data( Network::ThreadedClient* client );
|
|
bool check_inactivity( Network::ThreadedClient* session );
|
|
|
|
void handle_unknown_packet( Network::ThreadedClient* session );
|
|
void handle_undefined_packet( Network::ThreadedClient* session );
|
|
void handle_humongous_packet( Network::ThreadedClient* session, unsigned int reported_size );
|
|
} // namespace Pol::Core
|
|
|
|
#endif // CLIENTTHREAD_H
|