|
ZNC trunk
|
#include <Csocket.h>
Public Member Functions | |
| CSSSLConnection (const CS_STRING &sHostname, uint16_t iPort, int iTimeout=60) | |
| const CS_STRING & | GetHostname () const |
| const CS_STRING & | GetSockName () const |
| const CS_STRING & | GetBindHost () const |
| uint16_t | GetPort () const |
| int | GetTimeout () const |
| bool | GetIsSSL () const |
| CSSockAddr::EAFRequire | GetAFRequire () const |
| const CS_STRING & | GetCipher () const |
| const CS_STRING & | GetPemLocation () const |
| const CS_STRING & | GetKeyLocation () const |
| const CS_STRING & | GetDHParamLocation () const |
| const CS_STRING & | GetPemPass () const |
| void | SetHostname (const CS_STRING &s) |
| sets the hostname to connect to | |
| void | SetSockName (const CS_STRING &s) |
| sets the name of the socket, used for reference, ie in FindSockByName() | |
| void | SetBindHost (const CS_STRING &s) |
| sets the hostname to bind to (vhost support) | |
| void | SetPort (uint16_t i) |
| sets the port to connect to | |
| void | SetTimeout (int i) |
| sets the connection timeout | |
| void | SetIsSSL (bool b) |
| set to true to enable SSL | |
| void | SetAFRequire (CSSockAddr::EAFRequire iAFRequire) |
| sets the AF family type required | |
| void | SetCipher (const CS_STRING &s) |
| set the cipher strength to use, default is HIGH | |
| void | SetPemLocation (const CS_STRING &s) |
| set the location of the pemfile | |
| void | SetPemPass (const CS_STRING &s) |
| set the pemfile pass | |
Protected Attributes | |
| CS_STRING | m_sHostname |
| CS_STRING | m_sSockName |
| CS_STRING | m_sBindHost |
| uint16_t | m_iPort |
| int | m_iTimeout |
| bool | m_bIsSSL |
| CSSockAddr::EAFRequire | m_iAFrequire |
| CS_STRING | m_sDHParamLocation |
| CS_STRING | m_sKeyLocation |
| CS_STRING | m_sPemLocation |
| CS_STRING | m_sPemPass |
| CS_STRING | m_sCipher |
|
inline |
References CSConnection::CSConnection(), CS_STRING, and CSConnection::SetIsSSL().
|
inlineinherited |
References m_iAFrequire.
|
inlineinherited |
References CS_STRING, and m_sBindHost.
|
inlineinherited |
|
inlineinherited |
References CS_STRING, and m_sDHParamLocation.
|
inlineinherited |
References CS_STRING, and m_sHostname.
|
inlineinherited |
References m_bIsSSL.
|
inlineinherited |
References CS_STRING, and m_sKeyLocation.
|
inlineinherited |
References CS_STRING, and m_sPemLocation.
|
inlineinherited |
References CS_STRING, and m_sPemPass.
|
inlineinherited |
References m_iPort.
|
inlineinherited |
References CS_STRING, and m_sSockName.
|
inlineinherited |
References m_iTimeout.
|
inlineinherited |
sets the AF family type required
References m_iAFrequire.
|
inlineinherited |
sets the hostname to bind to (vhost support)
References CS_STRING, and m_sBindHost.
|
inlineinherited |
|
inlineinherited |
sets the hostname to connect to
References CS_STRING, and m_sHostname.
|
inlineinherited |
|
inlineinherited |
set the location of the pemfile
References CS_STRING, and m_sPemLocation.
|
inlineinherited |
set the pemfile pass
References CS_STRING, and m_sPemPass.
|
inlineinherited |
sets the port to connect to
References m_iPort.
|
inlineinherited |
sets the name of the socket, used for reference, ie in FindSockByName()
References CS_STRING, and m_sSockName.
|
inlineinherited |
sets the connection timeout
References m_iTimeout.
|
protectedinherited |
Referenced by CSConnection(), GetIsSSL(), and SetIsSSL().
|
protectedinherited |
Referenced by CSConnection(), GetAFRequire(), and SetAFRequire().
|
protectedinherited |
Referenced by CSConnection(), GetPort(), and SetPort().
|
protectedinherited |
Referenced by CSConnection(), GetTimeout(), and SetTimeout().
|
protectedinherited |
Referenced by GetBindHost(), and SetBindHost().
|
protectedinherited |
Referenced by CSConnection(), GetCipher(), and SetCipher().
|
protectedinherited |
Referenced by GetDHParamLocation().
|
protectedinherited |
Referenced by CSConnection(), GetHostname(), and SetHostname().
|
protectedinherited |
Referenced by GetKeyLocation().
|
protectedinherited |
Referenced by GetPemLocation(), and SetPemLocation().
|
protectedinherited |
Referenced by GetPemPass(), and SetPemPass().
|
protectedinherited |
Referenced by GetSockName(), and SetSockName().