The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

DispatcherThread Class Reference

Inheritance diagram for DispatcherThread:

Inheritance graph
[legend]
Collaboration diagram for DispatcherThread:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DispatcherThread (InspIRCd *Instance, ModuleSQL *CreatorModule)
 ~DispatcherThread ()
virtual void Run ()
 Override this method to put your actual threaded code here.

Private Attributes

ModuleSQLParent
InspIRCdServerInstance

Detailed Description

Definition at line 649 of file m_mysql.cpp.


Constructor & Destructor Documentation

DispatcherThread::DispatcherThread InspIRCd Instance,
ModuleSQL CreatorModule
[inline]
 

Definition at line 655 of file m_mysql.cpp.

DispatcherThread::~DispatcherThread  )  [inline]
 

Definition at line 656 of file m_mysql.cpp.


Member Function Documentation

void DispatcherThread::Run  )  [virtual]
 

Override this method to put your actual threaded code here.

Implements Thread.

Definition at line 860 of file m_mysql.cpp.

References AF_FAMILY, ModuleSQL::Conf, Connections, ModuleSQL::ConnMutex, SQLConnection::DoLeadingQuery(), MySQLListener::GetPort(), irc::sockets::insp_aton(), LoadDatabases(), Mutex::Lock(), Parent, QueryQueue::pop(), ModuleSQL::PublicServerInstance, SQLConnection::queue, QueueFD, ModuleSQL::QueueMutex, ModuleSQL::rehashing, and Mutex::Unlock().


Member Data Documentation

ModuleSQL* DispatcherThread::Parent [private]
 

Definition at line 652 of file m_mysql.cpp.

Referenced by Run().

InspIRCd* DispatcherThread::ServerInstance [private]
 

Definition at line 653 of file m_mysql.cpp.


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