ZNC
trunk
|
#include <Listener.h>
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 | |
CListener & | operator= (const CListener &)=delete |
bool | IsSSL () const |
EAddrType | GetAddrType () const |
unsigned short | GetPort () const |
const CString & | GetBindHost () const |
CRealListener * | GetRealListener () const |
const CString & | GetURIPrefix () 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 |
CRealListener * | m_pListener |
EAcceptType | m_eAcceptType |
|
inline |
CListener::~CListener | ( | ) |
|
delete |
|
inline |
References m_eAcceptType.
|
inline |
References m_sBindHost.
|
inline |
References m_uPort.
|
inline |
References m_pListener.
|
inline |
References m_sURIPrefix.
|
inline |
References m_bSSL.
bool CListener::Listen | ( | ) |
void CListener::ResetRealListener | ( | ) |
|
inline |
References m_eAcceptType.
|
protected |
Referenced by IsSSL().
|
protected |
Referenced by GetAcceptType(), and SetAcceptType().
|
protected |
Referenced by GetAddrType().
|
protected |
Referenced by GetRealListener().
|
protected |
Referenced by GetBindHost().
|
protected |
Referenced by GetURIPrefix().
|
protected |
Referenced by GetPort().