17 #ifndef ZNC_LISTENER_H
18 #define ZNC_LISTENER_H
20 #include <znc/zncconfig.h>
EAddrType
Definition: Socket.h:77
Definition: Listener.h:88
virtual ~CIncomingConnection()
Definition: Listener.h:93
CIncomingConnection(const CString &sHostname, unsigned short uPort, CListener::EAcceptType eAcceptType, const CString &sURIPrefix)
void ReadLine(const CString &sData) override
void ReachedMaxBuffer() override
This WARNING event is called when your buffer for readline exceeds the warning threshold and triggers...
Definition: Listener.h:27
CString m_sURIPrefix
Definition: Listener.h:70
unsigned short m_uPort
Definition: Listener.h:68
EAcceptType
Definition: Listener.h:29
@ ACCEPT_ALL
Definition: Listener.h:29
@ ACCEPT_HTTP
Definition: Listener.h:29
@ ACCEPT_IRC
Definition: Listener.h:29
EAcceptType m_eAcceptType
Definition: Listener.h:72
EAddrType GetAddrType() const
Definition: Listener.h:49
CRealListener * m_pListener
Definition: Listener.h:71
CListener & operator=(const CListener &)=delete
EAddrType m_eAddr
Definition: Listener.h:67
EAcceptType GetAcceptType() const
Definition: Listener.h:54
CString m_sBindHost
Definition: Listener.h:69
void SetAcceptType(EAcceptType eType)
Definition: Listener.h:59
const CString & GetURIPrefix() const
Definition: Listener.h:53
unsigned short GetPort() const
Definition: Listener.h:50
CListener(const CListener &)=delete
bool m_bSSL
Definition: Listener.h:66
CListener(unsigned short uPort, const CString &sBindHost, const CString &sURIPrefix, bool bSSL, EAddrType eAddr, EAcceptType eAccept)
Definition: Listener.h:31
const CString & GetBindHost() const
Definition: Listener.h:51
bool IsSSL() const
Definition: Listener.h:48
CRealListener * GetRealListener() const
Definition: Listener.h:52
Definition: Listener.h:75
bool ConnectionFrom(const CString &sHost, unsigned short uPort) override
CRealListener(CListener &listener)
Definition: Listener.h:77
Csock * GetSockObj(const CString &sHost, unsigned short uPort) override
void SockError(int iErrno, const CString &sDescription) override
String class that is used inside ZNC.
Definition: ZNCString.h:68
Basic socket class.
Definition: Csocket.h:564