ZNC  trunk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
CListener Class Reference

#include <Listener.h>

+ Collaboration diagram for CListener:

Public Types

enum  EAcceptType { ACCEPT_IRC, ACCEPT_HTTP, ACCEPT_ALL }
 

Public Member Functions

 CListener (unsigned short uPort, const CString &sBindHost, const CString &sURIPrefix, bool bSSL, EAddrType eAddr, EAcceptType eAccept)
 
 ~CListener ()
 
 CListener (const CListener &)=delete
 
CListeneroperator= (const CListener &)=delete
 
bool IsSSL () const
 
EAddrType GetAddrType () const
 
unsigned short GetPort () const
 
const CStringGetBindHost () const
 
CRealListenerGetRealListener () const
 
const CStringGetURIPrefix () const
 
EAcceptType GetAcceptType () const
 
void SetAcceptType (EAcceptType eType)
 
bool Listen ()
 
void ResetRealListener ()
 

Protected Attributes

bool m_bSSL
 
EAddrType m_eAddr
 
unsigned short m_uPort
 
CString m_sBindHost
 
CString m_sURIPrefix
 
CRealListenerm_pListener
 
EAcceptType m_eAcceptType
 

Member Enumeration Documentation

Enumerator
ACCEPT_IRC 
ACCEPT_HTTP 
ACCEPT_ALL 

Constructor & Destructor Documentation

CListener::CListener ( unsigned short  uPort,
const CString sBindHost,
const CString sURIPrefix,
bool  bSSL,
EAddrType  eAddr,
EAcceptType  eAccept 
)
inline
CListener::~CListener ( )
CListener::CListener ( const CListener )
delete

Member Function Documentation

EAcceptType CListener::GetAcceptType ( ) const
inline

References m_eAcceptType.

EAddrType CListener::GetAddrType ( ) const
inline

References m_eAddr.

const CString& CListener::GetBindHost ( ) const
inline

References m_sBindHost.

unsigned short CListener::GetPort ( ) const
inline

References m_uPort.

CRealListener* CListener::GetRealListener ( ) const
inline

References m_pListener.

const CString& CListener::GetURIPrefix ( ) const
inline

References m_sURIPrefix.

bool CListener::IsSSL ( ) const
inline

References m_bSSL.

bool CListener::Listen ( )
CListener& CListener::operator= ( const CListener )
delete
void CListener::ResetRealListener ( )
void CListener::SetAcceptType ( EAcceptType  eType)
inline

References m_eAcceptType.

Member Data Documentation

bool CListener::m_bSSL
protected

Referenced by IsSSL().

EAcceptType CListener::m_eAcceptType
protected

Referenced by GetAcceptType(), and SetAcceptType().

EAddrType CListener::m_eAddr
protected

Referenced by GetAddrType().

CRealListener* CListener::m_pListener
protected

Referenced by GetRealListener().

CString CListener::m_sBindHost
protected

Referenced by GetBindHost().

CString CListener::m_sURIPrefix
protected

Referenced by GetURIPrefix().

unsigned short CListener::m_uPort
protected

Referenced by GetPort().


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