ZNC  trunk
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
CIRCNetwork Class Reference

#include <IRCNetwork.h>

+ Inheritance diagram for CIRCNetwork:
+ Collaboration diagram for CIRCNetwork:

Public Member Functions

 CIRCNetwork (CUser *pUser, const CString &sName)
 
 CIRCNetwork (CUser *pUser, const CIRCNetwork &Network)
 
 ~CIRCNetwork ()
 
 CIRCNetwork (const CIRCNetwork &)=delete
 
CIRCNetworkoperator= (const CIRCNetwork &)=delete
 
void Clone (const CIRCNetwork &Network, bool bCloneName=true)
 
CString GetNetworkPath () const
 
void DelServers ()
 
bool ParseConfig (CConfig *pConfig, CString &sError, bool bUpgrade=false)
 
CConfig ToConfig () const
 
void BounceAllClients ()
 
bool IsUserAttached () const
 
bool IsUserOnline () const
 
void ClientConnected (CClient *pClient)
 
void ClientDisconnected (CClient *pClient)
 
CUserGetUser () const
 
const CStringGetName () const
 
bool IsNetworkAttached () const
 
const std::vector< CClient * > & GetClients () const
 
std::vector< CClient * > FindClients (const CString &sIdentifier) const
 
void SetUser (CUser *pUser)
 
bool SetName (const CString &sName)
 
CModulesGetModules ()
 
const CModulesGetModules () const
 
bool PutUser (const CString &sLine, CClient *pClient=nullptr, CClient *pSkipClient=nullptr)
 
bool PutUser (const CMessage &Message, CClient *pClient=nullptr, CClient *pSkipClient=nullptr)
 
bool PutStatus (const CString &sLine, CClient *pClient=nullptr, CClient *pSkipClient=nullptr)
 
bool PutModule (const CString &sModule, const CString &sLine, CClient *pClient=nullptr, CClient *pSkipClient=nullptr)
 
const std::vector< CChan * > & GetChans () const
 
CChanFindChan (CString sName) const
 
std::vector< CChan * > FindChans (const CString &sWild) const
 
bool AddChan (CChan *pChan)
 
bool AddChan (const CString &sName, bool bInConfig)
 
bool DelChan (const CString &sName)
 
bool MoveChan (const CString &sChan, unsigned int index, CString &sError)
 
bool SwapChans (const CString &sChan1, const CString &sChan2, CString &sError)
 
void JoinChans ()
 
void JoinChans (std::set< CChan * > &sChans)
 
const std::vector< CQuery * > & GetQueries () const
 
CQueryFindQuery (const CString &sName) const
 
std::vector< CQuery * > FindQueries (const CString &sWild) const
 
CQueryAddQuery (const CString &sName)
 
bool DelQuery (const CString &sName)
 
const CStringGetChanPrefixes () const
 
void SetChanPrefixes (const CString &s)
 
bool IsChan (const CString &sChan) const
 
const std::vector< CServer * > & GetServers () const
 
bool HasServers () const
 
CServerFindServer (const CString &sName) const
 
bool DelServer (const CString &sName, unsigned short uPort, const CString &sPass)
 
bool AddServer (const CString &sName)
 
bool AddServer (const CString &sName, unsigned short uPort, const CString &sPass="", bool bSSL=false)
 
CServerGetNextServer (bool bAdvance=true)
 
CServerGetCurrentServer () const
 
void SetIRCServer (const CString &s)
 
bool SetNextServer (const CServer *pServer)
 
bool IsLastServer () const
 
const SCStringGetTrustedFingerprints () const
 
void AddTrustedFingerprint (const CString &sFP)
 
void DelTrustedFingerprint (const CString &sFP)
 
void ClearTrustedFingerprints ()
 
void SetIRCConnectEnabled (bool b)
 
bool GetIRCConnectEnabled () const
 
CIRCSockGetIRCSock ()
 
const CIRCSockGetIRCSock () const
 
const CStringGetIRCServer () const
 
const CNickGetIRCNick () const
 
void SetIRCNick (const CNick &n)
 
CString GetCurNick () const
 
bool IsIRCAway () const
 
void SetIRCAway (bool b)
 
bool Connect ()
 
bool IsIRCConnected () const
 This method will return whether the user is connected and authenticated to an IRC server. More...
 
void SetIRCSocket (CIRCSock *pIRCSock)
 
void IRCConnected ()
 
void IRCDisconnected ()
 
void CheckIRCConnect ()
 
void NotifyClientsAboutServerDependentCap (const CString &sCap, bool bValue)
 
bool IsServerCapAccepted (const CString &sCap) const
 
bool PutIRC (const CString &sLine)
 
bool PutIRC (const CMessage &Message)
 
void AddRawBuffer (const CMessage &Format, const CString &sText="")
 
void UpdateRawBuffer (const CString &sCommand, const CMessage &Format, const CString &sText="")
 
void UpdateExactRawBuffer (const CMessage &Format, const CString &sText="")
 
void ClearRawBuffer ()
 
void AddRawBuffer (const CString &sFormat, const CString &sText="")
 
void UpdateRawBuffer (const CString &sMatch, const CString &sFormat, const CString &sText="")
 
void UpdateExactRawBuffer (const CString &sFormat, const CString &sText="")
 
void AddMotdBuffer (const CMessage &Format, const CString &sText="")
 
void UpdateMotdBuffer (const CString &sCommand, const CMessage &Format, const CString &sText="")
 
void ClearMotdBuffer ()
 
void AddMotdBuffer (const CString &sFormat, const CString &sText="")
 
void UpdateMotdBuffer (const CString &sMatch, const CString &sFormat, const CString &sText="")
 
void AddNoticeBuffer (const CMessage &Format, const CString &sText="")
 
void UpdateNoticeBuffer (const CString &sCommand, const CMessage &Format, const CString &sText="")
 
void ClearNoticeBuffer ()
 
void AddNoticeBuffer (const CString &sFormat, const CString &sText="")
 
void UpdateNoticeBuffer (const CString &sMatch, const CString &sFormat, const CString &sText="")
 
void ClearQueryBuffer ()
 
const CStringGetNick (const bool bAllowDefault=true) const
 
const CStringGetAltNick (const bool bAllowDefault=true) const
 
const CStringGetIdent (const bool bAllowDefault=true) const
 
CString GetRealName () const
 
const CStringGetBindHost () const
 
const CStringGetEncoding () const
 
CString GetQuitMsg () const
 
void SetNick (const CString &s)
 
void SetAltNick (const CString &s)
 
void SetIdent (const CString &s)
 
void SetRealName (const CString &s)
 
void SetBindHost (const CString &s)
 
void SetEncoding (const CString &s)
 
void SetQuitMsg (const CString &s)
 
double GetFloodRate () const
 
unsigned short int GetFloodBurst () const
 
void SetFloodRate (double fFloodRate)
 
void SetFloodBurst (unsigned short int uFloodBurst)
 
unsigned short int GetJoinDelay () const
 
void SetJoinDelay (unsigned short int uJoinDelay)
 
void SetTrustAllCerts (const bool bTrustAll=false)
 
bool GetTrustAllCerts () const
 
void SetTrustPKI (const bool bTrustPKI=true)
 
bool GetTrustPKI () const
 
unsigned long long BytesRead () const
 
unsigned long long BytesWritten () const
 
void AddBytesRead (unsigned long long u)
 
void AddBytesWritten (unsigned long long u)
 
CString ExpandString (const CString &sStr) const
 
CStringExpandString (const CString &sStr, CString &sRet) const
 

Static Public Member Functions

static bool IsValidNetwork (const CString &sNetwork)
 

Protected Attributes

CString m_sName
 
CUserm_pUser
 
CString m_sNick
 
CString m_sAltNick
 
CString m_sIdent
 
CString m_sRealName
 
CString m_sBindHost
 
CString m_sEncoding
 
CString m_sQuitMsg
 
SCString m_ssTrustedFingerprints
 
CModulesm_pModules
 
std::vector< CClient * > m_vClients
 
CIRCSockm_pIRCSock
 
std::vector< CChan * > m_vChans
 
std::vector< CQuery * > m_vQueries
 
CString m_sChanPrefixes
 
bool m_bIRCConnectEnabled
 
bool m_bTrustAllCerts
 
bool m_bTrustPKI
 
CString m_sIRCServer
 
std::vector< CServer * > m_vServers
 
size_t m_uServerIdx
 Index in m_vServers of our current server + 1. More...
 
CNick m_IRCNick
 
bool m_bIRCAway
 
double m_fFloodRate
 Set to -1 to disable protection. More...
 
unsigned short int m_uFloodBurst
 
CBuffer m_RawBuffer
 
CBuffer m_MotdBuffer
 
CBuffer m_NoticeBuffer
 
CIRCNetworkPingTimer * m_pPingTimer
 
CIRCNetworkJoinTimer * m_pJoinTimer
 
unsigned short int m_uJoinDelay
 
unsigned long long m_uBytesRead
 
unsigned long long m_uBytesWritten
 

Constructor & Destructor Documentation

◆ CIRCNetwork() [1/3]

CIRCNetwork::CIRCNetwork ( CUser pUser,
const CString sName 
)

◆ CIRCNetwork() [2/3]

CIRCNetwork::CIRCNetwork ( CUser pUser,
const CIRCNetwork Network 
)

◆ ~CIRCNetwork()

CIRCNetwork::~CIRCNetwork ( )

◆ CIRCNetwork() [3/3]

CIRCNetwork::CIRCNetwork ( const CIRCNetwork )
delete

Member Function Documentation

◆ AddBytesRead()

void CIRCNetwork::AddBytesRead ( unsigned long long  u)
inline

References m_uBytesRead.

◆ AddBytesWritten()

void CIRCNetwork::AddBytesWritten ( unsigned long long  u)
inline

References m_uBytesWritten.

◆ AddChan() [1/2]

bool CIRCNetwork::AddChan ( CChan pChan)

◆ AddChan() [2/2]

bool CIRCNetwork::AddChan ( const CString sName,
bool  bInConfig 
)

◆ AddMotdBuffer() [1/2]

void CIRCNetwork::AddMotdBuffer ( const CMessage Format,
const CString sText = "" 
)
inline

References CBuffer::AddLine(), and m_MotdBuffer.

◆ AddMotdBuffer() [2/2]

void CIRCNetwork::AddMotdBuffer ( const CString sFormat,
const CString sText = "" 
)
inline

◆ AddNoticeBuffer() [1/2]

void CIRCNetwork::AddNoticeBuffer ( const CMessage Format,
const CString sText = "" 
)
inline

◆ AddNoticeBuffer() [2/2]

void CIRCNetwork::AddNoticeBuffer ( const CString sFormat,
const CString sText = "" 
)
inline

◆ AddQuery()

CQuery* CIRCNetwork::AddQuery ( const CString sName)

◆ AddRawBuffer() [1/2]

void CIRCNetwork::AddRawBuffer ( const CMessage Format,
const CString sText = "" 
)
inline

References CBuffer::AddLine(), and m_RawBuffer.

◆ AddRawBuffer() [2/2]

void CIRCNetwork::AddRawBuffer ( const CString sFormat,
const CString sText = "" 
)
inline

◆ AddServer() [1/2]

bool CIRCNetwork::AddServer ( const CString sName)

◆ AddServer() [2/2]

bool CIRCNetwork::AddServer ( const CString sName,
unsigned short  uPort,
const CString sPass = "",
bool  bSSL = false 
)

◆ AddTrustedFingerprint()

void CIRCNetwork::AddTrustedFingerprint ( const CString sFP)
inline

◆ BounceAllClients()

void CIRCNetwork::BounceAllClients ( )

◆ BytesRead()

unsigned long long CIRCNetwork::BytesRead ( ) const
inline

References m_uBytesRead.

◆ BytesWritten()

unsigned long long CIRCNetwork::BytesWritten ( ) const
inline

References m_uBytesWritten.

◆ CheckIRCConnect()

void CIRCNetwork::CheckIRCConnect ( )

◆ ClearMotdBuffer()

void CIRCNetwork::ClearMotdBuffer ( )
inline

References CBuffer::Clear(), and m_MotdBuffer.

◆ ClearNoticeBuffer()

void CIRCNetwork::ClearNoticeBuffer ( )
inline

References CBuffer::Clear(), and m_NoticeBuffer.

◆ ClearQueryBuffer()

void CIRCNetwork::ClearQueryBuffer ( )

◆ ClearRawBuffer()

void CIRCNetwork::ClearRawBuffer ( )
inline

References CBuffer::Clear(), and m_RawBuffer.

◆ ClearTrustedFingerprints()

void CIRCNetwork::ClearTrustedFingerprints ( )
inline

◆ ClientConnected()

void CIRCNetwork::ClientConnected ( CClient pClient)

◆ ClientDisconnected()

void CIRCNetwork::ClientDisconnected ( CClient pClient)

◆ Clone()

void CIRCNetwork::Clone ( const CIRCNetwork Network,
bool  bCloneName = true 
)

◆ Connect()

bool CIRCNetwork::Connect ( )

◆ DelChan()

bool CIRCNetwork::DelChan ( const CString sName)

◆ DelQuery()

bool CIRCNetwork::DelQuery ( const CString sName)

◆ DelServer()

bool CIRCNetwork::DelServer ( const CString sName,
unsigned short  uPort,
const CString sPass 
)

◆ DelServers()

void CIRCNetwork::DelServers ( )

◆ DelTrustedFingerprint()

void CIRCNetwork::DelTrustedFingerprint ( const CString sFP)
inline

◆ ExpandString() [1/2]

CString CIRCNetwork::ExpandString ( const CString sStr) const

◆ ExpandString() [2/2]

CString& CIRCNetwork::ExpandString ( const CString sStr,
CString sRet 
) const

◆ FindChan()

CChan* CIRCNetwork::FindChan ( CString  sName) const

◆ FindChans()

std::vector<CChan*> CIRCNetwork::FindChans ( const CString sWild) const

◆ FindClients()

std::vector<CClient*> CIRCNetwork::FindClients ( const CString sIdentifier) const

◆ FindQueries()

std::vector<CQuery*> CIRCNetwork::FindQueries ( const CString sWild) const

◆ FindQuery()

CQuery* CIRCNetwork::FindQuery ( const CString sName) const

◆ FindServer()

CServer* CIRCNetwork::FindServer ( const CString sName) const

◆ GetAltNick()

const CString& CIRCNetwork::GetAltNick ( const bool  bAllowDefault = true) const

◆ GetBindHost()

const CString& CIRCNetwork::GetBindHost ( ) const

◆ GetChanPrefixes()

const CString& CIRCNetwork::GetChanPrefixes ( ) const
inline

References m_sChanPrefixes.

◆ GetChans()

const std::vector<CChan*>& CIRCNetwork::GetChans ( ) const

◆ GetClients()

const std::vector<CClient*>& CIRCNetwork::GetClients ( ) const
inline

References m_vClients.

◆ GetCurNick()

CString CIRCNetwork::GetCurNick ( ) const

◆ GetCurrentServer()

CServer* CIRCNetwork::GetCurrentServer ( ) const

◆ GetEncoding()

const CString& CIRCNetwork::GetEncoding ( ) const

◆ GetFloodBurst()

unsigned short int CIRCNetwork::GetFloodBurst ( ) const
inline

References m_uFloodBurst.

◆ GetFloodRate()

double CIRCNetwork::GetFloodRate ( ) const
inline

References m_fFloodRate.

◆ GetIdent()

const CString& CIRCNetwork::GetIdent ( const bool  bAllowDefault = true) const

◆ GetIRCConnectEnabled()

bool CIRCNetwork::GetIRCConnectEnabled ( ) const
inline

References m_bIRCConnectEnabled.

◆ GetIRCNick()

const CNick& CIRCNetwork::GetIRCNick ( ) const

◆ GetIRCServer()

const CString& CIRCNetwork::GetIRCServer ( ) const

◆ GetIRCSock() [1/2]

CIRCSock* CIRCNetwork::GetIRCSock ( )
inline

References m_pIRCSock.

◆ GetIRCSock() [2/2]

const CIRCSock* CIRCNetwork::GetIRCSock ( ) const
inline

References m_pIRCSock.

◆ GetJoinDelay()

unsigned short int CIRCNetwork::GetJoinDelay ( ) const
inline

References m_uJoinDelay.

◆ GetModules() [1/2]

CModules& CIRCNetwork::GetModules ( )
inline

References m_pModules.

◆ GetModules() [2/2]

const CModules& CIRCNetwork::GetModules ( ) const
inline

References m_pModules.

◆ GetName()

const CString& CIRCNetwork::GetName ( ) const

◆ GetNetworkPath()

CString CIRCNetwork::GetNetworkPath ( ) const

◆ GetNextServer()

CServer* CIRCNetwork::GetNextServer ( bool  bAdvance = true)

◆ GetNick()

const CString& CIRCNetwork::GetNick ( const bool  bAllowDefault = true) const

◆ GetQueries()

const std::vector<CQuery*>& CIRCNetwork::GetQueries ( ) const

◆ GetQuitMsg()

CString CIRCNetwork::GetQuitMsg ( ) const

◆ GetRealName()

CString CIRCNetwork::GetRealName ( ) const

◆ GetServers()

const std::vector<CServer*>& CIRCNetwork::GetServers ( ) const

◆ GetTrustAllCerts()

bool CIRCNetwork::GetTrustAllCerts ( ) const
inline

References m_bTrustAllCerts.

◆ GetTrustedFingerprints()

const SCString& CIRCNetwork::GetTrustedFingerprints ( ) const
inline

◆ GetTrustPKI()

bool CIRCNetwork::GetTrustPKI ( ) const
inline

References m_bTrustPKI.

◆ GetUser()

CUser* CIRCNetwork::GetUser ( ) const

◆ HasServers()

bool CIRCNetwork::HasServers ( ) const
inline

References m_vServers.

◆ IRCConnected()

void CIRCNetwork::IRCConnected ( )

◆ IRCDisconnected()

void CIRCNetwork::IRCDisconnected ( )

◆ IsChan()

bool CIRCNetwork::IsChan ( const CString sChan) const

◆ IsIRCAway()

bool CIRCNetwork::IsIRCAway ( ) const
inline

References m_bIRCAway.

◆ IsIRCConnected()

bool CIRCNetwork::IsIRCConnected ( ) const

This method will return whether the user is connected and authenticated to an IRC server.

◆ IsLastServer()

bool CIRCNetwork::IsLastServer ( ) const

◆ IsNetworkAttached()

bool CIRCNetwork::IsNetworkAttached ( ) const
inline

References m_vClients.

◆ IsServerCapAccepted()

bool CIRCNetwork::IsServerCapAccepted ( const CString sCap) const

◆ IsUserAttached()

bool CIRCNetwork::IsUserAttached ( ) const
inline

References m_vClients.

◆ IsUserOnline()

bool CIRCNetwork::IsUserOnline ( ) const

◆ IsValidNetwork()

static bool CIRCNetwork::IsValidNetwork ( const CString sNetwork)
static

◆ JoinChans() [1/2]

void CIRCNetwork::JoinChans ( )

◆ JoinChans() [2/2]

void CIRCNetwork::JoinChans ( std::set< CChan * > &  sChans)

◆ MoveChan()

bool CIRCNetwork::MoveChan ( const CString sChan,
unsigned int  index,
CString sError 
)

◆ NotifyClientsAboutServerDependentCap()

void CIRCNetwork::NotifyClientsAboutServerDependentCap ( const CString sCap,
bool  bValue 
)

◆ operator=()

CIRCNetwork& CIRCNetwork::operator= ( const CIRCNetwork )
delete

◆ ParseConfig()

bool CIRCNetwork::ParseConfig ( CConfig pConfig,
CString sError,
bool  bUpgrade = false 
)

◆ PutIRC() [1/2]

bool CIRCNetwork::PutIRC ( const CMessage Message)

◆ PutIRC() [2/2]

bool CIRCNetwork::PutIRC ( const CString sLine)

◆ PutModule()

bool CIRCNetwork::PutModule ( const CString sModule,
const CString sLine,
CClient pClient = nullptr,
CClient pSkipClient = nullptr 
)

◆ PutStatus()

bool CIRCNetwork::PutStatus ( const CString sLine,
CClient pClient = nullptr,
CClient pSkipClient = nullptr 
)

◆ PutUser() [1/2]

bool CIRCNetwork::PutUser ( const CMessage Message,
CClient pClient = nullptr,
CClient pSkipClient = nullptr 
)

◆ PutUser() [2/2]

bool CIRCNetwork::PutUser ( const CString sLine,
CClient pClient = nullptr,
CClient pSkipClient = nullptr 
)

◆ SetAltNick()

void CIRCNetwork::SetAltNick ( const CString s)

◆ SetBindHost()

void CIRCNetwork::SetBindHost ( const CString s)

◆ SetChanPrefixes()

void CIRCNetwork::SetChanPrefixes ( const CString s)
inline

References m_sChanPrefixes.

◆ SetEncoding()

void CIRCNetwork::SetEncoding ( const CString s)

◆ SetFloodBurst()

void CIRCNetwork::SetFloodBurst ( unsigned short int  uFloodBurst)
inline

References m_uFloodBurst.

◆ SetFloodRate()

void CIRCNetwork::SetFloodRate ( double  fFloodRate)
inline

References m_fFloodRate.

◆ SetIdent()

void CIRCNetwork::SetIdent ( const CString s)

◆ SetIRCAway()

void CIRCNetwork::SetIRCAway ( bool  b)
inline

References m_bIRCAway.

◆ SetIRCConnectEnabled()

void CIRCNetwork::SetIRCConnectEnabled ( bool  b)

◆ SetIRCNick()

void CIRCNetwork::SetIRCNick ( const CNick n)

◆ SetIRCServer()

void CIRCNetwork::SetIRCServer ( const CString s)

◆ SetIRCSocket()

void CIRCNetwork::SetIRCSocket ( CIRCSock pIRCSock)

◆ SetJoinDelay()

void CIRCNetwork::SetJoinDelay ( unsigned short int  uJoinDelay)
inline

References m_uJoinDelay.

◆ SetName()

bool CIRCNetwork::SetName ( const CString sName)

◆ SetNextServer()

bool CIRCNetwork::SetNextServer ( const CServer pServer)

◆ SetNick()

void CIRCNetwork::SetNick ( const CString s)

◆ SetQuitMsg()

void CIRCNetwork::SetQuitMsg ( const CString s)

◆ SetRealName()

void CIRCNetwork::SetRealName ( const CString s)

◆ SetTrustAllCerts()

void CIRCNetwork::SetTrustAllCerts ( const bool  bTrustAll = false)
inline

References m_bTrustAllCerts.

◆ SetTrustPKI()

void CIRCNetwork::SetTrustPKI ( const bool  bTrustPKI = true)
inline

References m_bTrustPKI.

◆ SetUser()

void CIRCNetwork::SetUser ( CUser pUser)

◆ SwapChans()

bool CIRCNetwork::SwapChans ( const CString sChan1,
const CString sChan2,
CString sError 
)

◆ ToConfig()

CConfig CIRCNetwork::ToConfig ( ) const

◆ UpdateExactRawBuffer() [1/2]

void CIRCNetwork::UpdateExactRawBuffer ( const CMessage Format,
const CString sText = "" 
)
inline

◆ UpdateExactRawBuffer() [2/2]

void CIRCNetwork::UpdateExactRawBuffer ( const CString sFormat,
const CString sText = "" 
)
inline

◆ UpdateMotdBuffer() [1/2]

void CIRCNetwork::UpdateMotdBuffer ( const CString sCommand,
const CMessage Format,
const CString sText = "" 
)
inline

◆ UpdateMotdBuffer() [2/2]

void CIRCNetwork::UpdateMotdBuffer ( const CString sMatch,
const CString sFormat,
const CString sText = "" 
)
inline

◆ UpdateNoticeBuffer() [1/2]

void CIRCNetwork::UpdateNoticeBuffer ( const CString sCommand,
const CMessage Format,
const CString sText = "" 
)
inline

◆ UpdateNoticeBuffer() [2/2]

void CIRCNetwork::UpdateNoticeBuffer ( const CString sMatch,
const CString sFormat,
const CString sText = "" 
)
inline

◆ UpdateRawBuffer() [1/2]

void CIRCNetwork::UpdateRawBuffer ( const CString sCommand,
const CMessage Format,
const CString sText = "" 
)
inline

◆ UpdateRawBuffer() [2/2]

void CIRCNetwork::UpdateRawBuffer ( const CString sMatch,
const CString sFormat,
const CString sText = "" 
)
inline

Member Data Documentation

◆ m_bIRCAway

bool CIRCNetwork::m_bIRCAway
protected

Referenced by IsIRCAway(), and SetIRCAway().

◆ m_bIRCConnectEnabled

bool CIRCNetwork::m_bIRCConnectEnabled
protected

Referenced by GetIRCConnectEnabled().

◆ m_bTrustAllCerts

bool CIRCNetwork::m_bTrustAllCerts
protected

◆ m_bTrustPKI

bool CIRCNetwork::m_bTrustPKI
protected

Referenced by GetTrustPKI(), and SetTrustPKI().

◆ m_fFloodRate

double CIRCNetwork::m_fFloodRate
protected

Set to -1 to disable protection.

Referenced by GetFloodRate(), and SetFloodRate().

◆ m_IRCNick

CNick CIRCNetwork::m_IRCNick
protected

◆ m_MotdBuffer

CBuffer CIRCNetwork::m_MotdBuffer
protected

◆ m_NoticeBuffer

CBuffer CIRCNetwork::m_NoticeBuffer
protected

◆ m_pIRCSock

CIRCSock* CIRCNetwork::m_pIRCSock
protected

Referenced by GetIRCSock().

◆ m_pJoinTimer

CIRCNetworkJoinTimer* CIRCNetwork::m_pJoinTimer
protected

◆ m_pModules

CModules* CIRCNetwork::m_pModules
protected

Referenced by GetModules().

◆ m_pPingTimer

CIRCNetworkPingTimer* CIRCNetwork::m_pPingTimer
protected

◆ m_pUser

CUser* CIRCNetwork::m_pUser
protected

◆ m_RawBuffer

CBuffer CIRCNetwork::m_RawBuffer
protected

◆ m_sAltNick

CString CIRCNetwork::m_sAltNick
protected

◆ m_sBindHost

CString CIRCNetwork::m_sBindHost
protected

◆ m_sChanPrefixes

CString CIRCNetwork::m_sChanPrefixes
protected

Referenced by GetChanPrefixes(), and SetChanPrefixes().

◆ m_sEncoding

CString CIRCNetwork::m_sEncoding
protected

◆ m_sIdent

CString CIRCNetwork::m_sIdent
protected

◆ m_sIRCServer

CString CIRCNetwork::m_sIRCServer
protected

◆ m_sName

CString CIRCNetwork::m_sName
protected

◆ m_sNick

CString CIRCNetwork::m_sNick
protected

◆ m_sQuitMsg

CString CIRCNetwork::m_sQuitMsg
protected

◆ m_sRealName

CString CIRCNetwork::m_sRealName
protected

◆ m_ssTrustedFingerprints

SCString CIRCNetwork::m_ssTrustedFingerprints
protected

◆ m_uBytesRead

unsigned long long CIRCNetwork::m_uBytesRead
protected

Referenced by AddBytesRead(), and BytesRead().

◆ m_uBytesWritten

unsigned long long CIRCNetwork::m_uBytesWritten
protected

Referenced by AddBytesWritten(), and BytesWritten().

◆ m_uFloodBurst

unsigned short int CIRCNetwork::m_uFloodBurst
protected

Referenced by GetFloodBurst(), and SetFloodBurst().

◆ m_uJoinDelay

unsigned short int CIRCNetwork::m_uJoinDelay
protected

Referenced by GetJoinDelay(), and SetJoinDelay().

◆ m_uServerIdx

size_t CIRCNetwork::m_uServerIdx
protected

Index in m_vServers of our current server + 1.

◆ m_vChans

std::vector<CChan*> CIRCNetwork::m_vChans
protected

◆ m_vClients

std::vector<CClient*> CIRCNetwork::m_vClients
protected

◆ m_vQueries

std::vector<CQuery*> CIRCNetwork::m_vQueries
protected

◆ m_vServers

std::vector<CServer*> CIRCNetwork::m_vServers
protected

Referenced by HasServers().


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