Anope IRC Services  Version 2.0
Public Member Functions
DispatcherThread Class Reference
Inheritance diagram for DispatcherThread:
Inheritance graph
Collaboration diagram for DispatcherThread:
Collaboration graph

Public Member Functions

 DispatcherThread ()
void Run () anope_override
- Public Member Functions inherited from Thread
 Thread ()
virtual ~Thread ()
void Join ()
void SetExitState ()
void Exit ()
void Start ()
bool GetExitState () const
void OnNotify ()
- Public Member Functions inherited from Pipe
 Pipe ()
 ~Pipe ()
bool ProcessRead () anope_override
void Write (const char *data, size_t sz)
void Write (const Anope::string &data)
int Read (char *data, size_t sz)
bool SetWriteBlocking (bool state)
void Notify ()
- Public Member Functions inherited from Socket
 Socket ()
 Socket (int sock, bool ipv6=false, int type=SOCK_STREAM)
virtual ~Socket ()
int GetFD () const
bool IsIPv6 () const
bool SetBlocking (bool state)
void Bind (const Anope::string &ip, int port=0)
virtual bool Process ()
virtual bool ProcessWrite ()
virtual void ProcessError ()
- Public Member Functions inherited from Extensible
virtual ~Extensible ()
template<typename T >
T * GetExt (const Anope::string &name) const
bool HasExt (const Anope::string &name) const
template<typename T >
T * Extend (const Anope::string &name, const T &what)
template<typename T >
T * Extend (const Anope::string &name)
template<typename T >
T * Require (const Anope::string &name)
template<typename T >
void Shrink (const Anope::string &name)
bool * Extend (const Anope::string &name, const bool &what)
- Public Member Functions inherited from Condition
 Condition ()
 ~Condition ()
void Wakeup ()
void Wait ()
- Public Member Functions inherited from Mutex
 Mutex ()
 ~Mutex ()
void Lock ()
void Unlock ()
bool TryLock ()

Additional Inherited Members

- Static Public Member Functions inherited from Extensible
static void ExtensibleSerialize (const Extensible *, const Serializable *, Serialize::Data &data)
static void ExtensibleUnserialize (Extensible *, Serializable *, Serialize::Data &data)
- Data Fields inherited from Thread
pthread_t handle
- Data Fields inherited from Pipe
int write_pipe
- Data Fields inherited from Socket
std::bitset< SF_SIZEflags
sockaddrs bindaddr
- Data Fields inherited from Extensible
std::set< ExtensibleBase * > extension_items
- Protected Attributes inherited from Socket
int sock
bool ipv6
- Protected Attributes inherited from Mutex
pthread_mutex_t mutex

Detailed Description

The SQL thread used to execute queries

Definition at line 151 of file m_mysql.cpp.

Constructor & Destructor Documentation

◆ DispatcherThread()

DispatcherThread::DispatcherThread ( )

Definition at line 154 of file m_mysql.cpp.

References anope_override.

Member Function Documentation

◆ Run()

void DispatcherThread::Run ( )

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