TrinityCore
Trinity::Net::Http::HttpService< SessionImpl >::Thread Class Reference

#include <HttpService.h>

+ Inheritance diagram for Trinity::Net::Http::HttpService< SessionImpl >::Thread:

Protected Member Functions

void SocketRemoved (std::shared_ptr< SessionImpl > session) override
 
- Protected Member Functions inherited from NetworkThread< SessionImpl >
virtual void SocketAdded (std::shared_ptr< SessionImpl >)
 
virtual void SocketRemoved (std::shared_ptr< SessionImpl >)
 
void AddNewSockets ()
 
void Run ()
 
void Update ()
 

Private Attributes

friend HttpService
 
SessionService_service
 

Additional Inherited Members

- Public Member Functions inherited from NetworkThread< SessionImpl >
 NetworkThread ()
 
virtual ~NetworkThread ()
 
void Stop ()
 
bool Start ()
 
void Wait ()
 
int32 GetConnectionCount () const
 
void AddSocket (std::shared_ptr< SessionImpl > sock)
 
boost::asio::ip::tcp::socket * GetSocketForAccept ()
 

Detailed Description

template<typename SessionImpl>
class Trinity::Net::Http::HttpService< SessionImpl >::Thread

Definition at line 160 of file HttpService.h.

Member Function Documentation

◆ SocketRemoved()

template<typename SessionImpl >
void Trinity::Net::Http::HttpService< SessionImpl >::Thread::SocketRemoved ( std::shared_ptr< SessionImpl >  session)
inlineoverrideprotectedvirtual

Reimplemented from NetworkThread< SessionImpl >.

Definition at line 163 of file HttpService.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ _service

template<typename SessionImpl >
SessionService* Trinity::Net::Http::HttpService< SessionImpl >::Thread::_service
private

Definition at line 172 of file HttpService.h.

◆ HttpService

template<typename SessionImpl >
friend Trinity::Net::Http::HttpService< SessionImpl >::Thread::HttpService
private

Definition at line 170 of file HttpService.h.


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