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

#include <Server.h>

+ Collaboration diagram for CServer:

Public Member Functions

 CServer (const CString &sName, unsigned short uPort=6667, const CString &sPass="", bool bSSL=false)
 
 ~CServer ()
 
const CStringGetName () const
 
unsigned short GetPort () const
 
const CStringGetPass () const
 
bool IsSSL () const
 
CString GetString (bool bIncludePassword=true) const
 

Static Public Member Functions

static bool IsValidHostName (const CString &sHostName)
 

Protected Attributes

CString m_sName
 
unsigned short m_uPort
 
CString m_sPass
 
bool m_bSSL
 

Constructor & Destructor Documentation

◆ CServer()

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

◆ ~CServer()

CServer::~CServer ( )

Member Function Documentation

◆ GetName()

const CString& CServer::GetName ( ) const

◆ GetPass()

const CString& CServer::GetPass ( ) const

◆ GetPort()

unsigned short CServer::GetPort ( ) const

◆ GetString()

CString CServer::GetString ( bool  bIncludePassword = true) const

◆ IsSSL()

bool CServer::IsSSL ( ) const

◆ IsValidHostName()

static bool CServer::IsValidHostName ( const CString sHostName)
static

Member Data Documentation

◆ m_bSSL

bool CServer::m_bSSL
protected

◆ m_sName

CString CServer::m_sName
protected

◆ m_sPass

CString CServer::m_sPass
protected

◆ m_uPort

unsigned short CServer::m_uPort
protected

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