7#ifndef _NETWORK_CONNECTION_HANDLER_H_
8#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
Set the proxy that the user want to use according to your net environment. \praam proxy_setting The p...
virtual SDKError RegisterNetworkConnectionHandler(INetworkConnectionHandler *pNetworkHandler)=0
Set 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
Get the description of the proxy. Return 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
Get the proxy port. Return The value of 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
Get the address of the proxy host. Return 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
Get the serial number of the SSL certificate.
virtual void Cancel()=0
The SSL certificate is not trusted.
virtual const zchar_t * GetCertFingerprint()=0
get the SSL certificate's fingerprint
virtual const zchar_t * GetCertIssuedTo()=0
Get the value of whom the SSL certificate is issued to.
virtual const zchar_t * GetCertIssuedBy()=0
Get the value that who issues the SSL certificate.
struct tagProxySettings ProxySettings
The proxy that the user want to use according to the net environment. Here are more detailed structur...
bool auto_detect
TRUE indicates automatic detection.
const zchar_t * proxy
The proxy ip address and port that user want to use, should be organized like ip:port,...
#define END_ZOOM_SDK_NAMESPACE
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
SDK error types. Here are more detailed structural descriptions.