|
| void | StatsCB (IN VPNStats &stats) |
| |
| void | StateCB (IN const VPNState state, IN const VPNSubState subState, IN const tstring stateString) |
| |
| void | BannerCB (IN const tstring &banner) |
| |
| void | PreConnectReminderCB (const tstring &rtstrPreConnectReminder) |
| |
| void | NoticeCB (IN const tstring ¬ice, IN const MessageType type, IN const bool bSensitive=false) |
| |
| void | ExitNoticeCB (IN const tstring ¬ice, const int returnCode) |
| |
| void | ServiceReadyCB () |
| |
| void | UserPromptCB (IN ConnectPromptInfo &ConnectPrompt) |
| |
| void | CertBlockedCB (IN const tstring &rtstrUntrustedServer) |
| |
| void | CertWarningCB (IN const tstring &rtstrUntrustedServer, IN const std::list< tstring > &rltstrCertErrors, IN bool bAllowImport) |
| |
| void | EventAvailable () |
| |
| virtual void | StatsCB (VPNStats &stats)=0 |
| |
| virtual void | StateCB (const VPNState state, const VPNSubState subState, const tstring stateString)=0 |
| |
| virtual void | BannerCB (const tstring &banner)=0 |
| |
| virtual void | NoticeCB (const tstring ¬ice, const MessageType type, const bool bSensitive=false)=0 |
| |
| virtual void | ExitNoticeCB (const tstring &tstrNotice, const int returnCode) |
| |
| virtual void | UserPromptCB (ConnectPromptInfo &ConnectPrompt)=0 |
| |
| virtual void | WMHintCB (const WMHint hint, const WMHintReason reason) |
| |
| virtual void | deliverWebLaunchHostCB (const tstring &activeHost) |
| |
| virtual void | CertBlockedCB (const tstring &rtstrUntrustedServer)=0 |
| |
| virtual void | CertWarningCB (const tstring &rtstrUntrustedServer, const std::list< tstring > &rltstrCertErrors, bool bAllowImport)=0 |
| |
| void | ResetQuarantinedReconnect () |
| |
|
void | ClientIfcTransmigration () |
| |
|
bool | attach (const ClientType clientType=ClientType_GUI, const bool requestFullCapabilities=true, const bool suppressAutoConnect=true, const bool bSuppressEventAvailableCB=false) |
| |
|
void | detach () |
| |
|
void | ProcessEvents () |
| |
|
bool | hasFullCapabilities () |
| |
|
bool | isConnected (bool bSilent=false) |
| |
|
bool | isAvailable () |
| |
|
std::list< tstring > | getHostNames () |
| |
|
std::list< HostEntry > | getHostEntries () |
| |
|
tstring | getDefaultHostName () |
| |
|
bool | connect (tstring host) |
| |
|
bool | connect (tstring host, unsigned int origin) |
| |
|
bool | setNewTunnelGroup (const tstring &group) |
| |
|
void | disconnect () |
| |
|
void | cancel () |
| |
|
void | resetStats () |
| |
|
void | getState () |
| |
|
VPNState | getCurrentVPNState () |
| |
|
VPNSubState | getCurrentVPNSubState () |
| |
|
VPNSubState | getPreviousVPNSubState () |
| |
|
STATE | getCurrentState () |
| |
|
tstring | getStateText () |
| |
|
void | setNetworkStates (NETENV_STATE netEnvState, NETCTRL_STATE netCtrlState, NETWORK_TYPE netType, bool bACBrowserForCPRemediation, bool bUpdateUI) |
| |
|
void | refreshOperatingModeForCurrentNetStates () |
| |
|
NETENV_STATE | getCurrentNetEnvState () |
| |
|
NETENV_STATE | getPreviousNetEnvState () |
| |
|
NETCTRL_STATE | getCurrentNetCtrlState () |
| |
|
NETWORK_TYPE | getCurrentNetType () |
| |
|
bool | isACBrowserForCPRemediation () |
| |
|
tstring | getNetworkStatusText (const VPNState state, const VPNSubState subState, const NETENV_STATE netEnvState, const NETCTRL_STATE netCtrlState) |
| |
|
PreferenceInfo & | getPreferences () |
| |
|
bool | savePreferences () |
| |
|
void | startStats () |
| |
|
void | stopStats () |
| |
|
void | UserSubmit () |
| |
|
void | setBanner (const tstring &banner) |
| |
|
void | setBannerResponse (bool bResponse) |
| |
|
void | setPreConnectReminder (const tstring &tstrPreConnectReminder) |
| |
|
void | setPreConnectReminderResponse () |
| |
|
bool | getUserResponse () |
| |
|
bool | isUserResponseSet () |
| |
|
void | setCertBlocked (const tstring &tstrUntrustedServer) |
| |
|
void | setCertWarning (const tstring &rtstrUntrustedServer, const std::list< tstring > &rltstrCertErrors, bool bAllowImport) |
| |
|
bool | getCertImportResponse () |
| |
|
void | setUserPrompt (ConnectPromptInfo &ConnectPrompt) |
| |
|
void | setCertBlockedResponse (bool bUnlock) |
| |
|
void | setCertWarningResponse (bool bConnect, bool bImportCert) |
| |
|
void | insertStateToConnectPrompt (ConnectPromptInfo &ConnectPrompt) |
| |
|
void | ExitNotice (const tstring &tstrNotice, const int code=0) |
| |
|
void | notice (const tstring &tstrNotice, const MessageType type=MsgType_Info, bool bClearLastMsg=false, bool bForce=false, bool bStateMsg=false, bool bSensitiveMsg=false) |
| |
|
void | notice (MsgWithArg ¬ice, const MessageType type=MsgType_Info, bool bClearLastMsg=false, bool bForce=false, bool bStateMsg=false, bool bSensitiveMsg=false) |
| |
|
void | getStats (void) |
| |
|
void | setStats (VPNStats &stats) |
| |
|
void | exportStats (const tstring &tstrFilePath) |
| |
|
void | initState (VPNState state, VPNState previousState, VPNSubState subState) |
| |
|
void | setState (VPNState state, VPNState previousState, VPNSubState subState=VPNSS_NORMAL, bool bUpdateStateMsg=true, bool bOnlyUpdateUI=false) |
| |
|
void | setWMHint (WMHint hint, WMHintReason reason) |
| |
|
bool | isLastConnectType (const ConnectPromptType connPromptType) |
| |
|
bool | isOperatingMode (OperatingMode opMode) |
| |
|
void | setOperatingMode (OperatingMode opMode) |
| |
|
void | unsetOperatingMode (OperatingMode opMode) |
| |
|
bool | CanRemediateCaptivePortal () |
| |
|
bool | policyAllowsCaptivePortalRemediation () |
| |
|
bool | isEventShutdown () |
| |
|
bool | isUsingEventModel () |
| |
|
time_t | getLastDisconnectTime () |
| |
|
ConnectPromptInfo | getConnectPromptInfo () |
| |
|
void | resetConnectPromptPasswordData () |
| |
|
void | setStandaloneConnection (bool isStandalone) |
| |
|
void | deliverActiveHost (const tstring &activeHost, ConnectProtocolType vpnProtocol=PROTOCOL_TYPE_UNKNOWN, bool bActiveHostFriendlyName=false) |
| |
|
bool | isVPNServiceReady () |
| |
|
void | resetLastDisconnectTime (time_t time=1) |
| |
|
void | processMinimize () |
| |
|
void | setEnrollClientCert (CertObj *pCert) |
| |
|
void | linuxCertImportWarnUser () |
| |
|
void | linuxCertImportWarnUserResponse (bool bAccept) |
| |
|
void | setDefaultHost (tstring &host) |
| |
|
void | setLastVpnError (VPNError vpnError) |
| |
|
VPNError | getLastVpnError () |
| |
|
bool | requestImportLocalization (const tstring tstrLocale, const std::vector< unsigned char > &MoFileData) |
| |
|
void | startAHS (const unsigned int uiReason, const ProxyIfc &proxy) |
| |
|
void | AHSSelectedHost (const unsigned int uiReason, const std::vector< tstring > &headendList, const long statusReturnCode, const tstring &extraInfo) |
| |
|
std::vector< tstring > | getAHSHostList () |
| |
|
unsigned int | getAHSState () |
| |
|
bool | isAHSHasRun () |
| |
|
bool | IsAHSCachingRestricted () |
| |
|
bool | suppressConnectionErrorPopups () |
| |
|
tstring | getCaptivePortalDetectedMsg () |
| |
|
void | setProxyAuthPrompts (ProxyIfc *pProxy, const tstring &promptMsg) |
| |
|
bool | handleIpcMessage (CIpcMessage *pIpcMessage) |
| |
|
void | signalDisconnectedToEventNtfctnThread () |
| |
|
bool | IsCsdTokenVerified () const |
| |
|
void | activateConnectMgrTunnelInitiationCompletionEvent () |
| |
|
bool | isConnectRequestActive () |
| |
|
bool | isConnectRequestCleanup () |
| |
|
bool | syncProfileChange (const tstring &profileName) |
| |
|
tstring | getConnectHost () |
| |
|
tstring | getMgmtTunnelHostname () |
| |
|
VPN_TUNNEL_SCOPE | getVpnTunnelScope () |
| |
|
bool | isStandaloneConnection () |
| |
|
void | sendSSoLogoutPrompt (ConnectPromptInfo &cpi) |
| |
|
void | setExternalSSOLogoutUrlFromAgent (const tstring &logoutUrl) |
| |
This is an example application demonstrating the implementation of the AnyConnect API