6#ifndef _NETWORK_CONNECTION_HANDLER_H_
7#define _NETWORK_CONNECTION_HANDLER_H_
The network connection handler callback event.
virtual void onProxySettingNotification(IProxySettingHandler *handler)=0
The callback will be triggered if the proxy requests to input the username and password.
virtual void onProxyDetectComplete()=0
Notification callback of completing the proxy detection.
virtual void onSSLCertVerifyNotification(ISSLCertVerificationHandler *handler)=0
The callback will be triggered when the SSL is verified.
The network connection helper interface.
virtual SDKError ConfigureProxy(ProxySettings &proxy_setting)=0
Sets the proxy that the user want to use according to your net environment.
virtual SDKError RegisterNetworkConnectionHandler(INetworkConnectionHandler *pNetworkHandler)=0
Sets the callback handler to receive the INetworkConnectionHandler.
virtual SDKError UnRegisterNetworkConnectionHandler()=0
Unregister the callback handler which is used to receive the INetworkConnectionHandler.
Proxy setting information callback interface.
virtual ~IProxySettingHandler()
virtual const zchar_t * GetProxyDescription()=0
Gets the description of the proxy.
virtual void InputUsernamePassword(const zchar_t *userName, const zchar_t *psw)=0
Input the username and password when using the proxy.
virtual unsigned int GetProxyPort()=0
Gets the proxy port.
virtual void Cancel()=0
Cancel the process to input the username and password of the proxy.
virtual const zchar_t * GetProxyHost()=0
Gets the address of the proxy host.
Verification of the SSL certificate callback interface.
virtual ~ISSLCertVerificationHandler()
virtual void Trust()=0
The SSL certificate is trusted.
virtual const zchar_t * GetCertSerialNum()=0
Gets the serial number of the SSL certificate.
virtual void Cancel()=0
The SSL certificate is not trusted.
virtual const zchar_t * GetCertFingerprint()=0
Gets the SSL certificate's fingerprint.
virtual const zchar_t * GetCertIssuedTo()=0
Gets the value of whom the SSL certificate is issued to.
virtual const zchar_t * GetCertIssuedBy()=0
Gets the value that who issues the SSL certificate.
BEGIN_ZOOM_SDK_NAMESPACE struct tagProxySettings ProxySettings
The proxy that the user want to use according to the net environment. Here are more detailed structur...
#define END_ZOOM_SDK_NAMESPACE
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
Enumeration of common errors of SDK.