![]() |
AnyConnect Secure Mobility Client 5.1.1.42
|
00001 /************************************************************************** 00002 * Copyright (c) 2006, 2021-2023 Cisco Systems, Inc. 00003 * All Rights Reserved. Cisco Highly Confidential. 00004 *************************************************************************** 00005 * 00006 * File: ClientIfcBase.h 00007 * Author: Chris Fitzgerald 00008 * Date: 08/2007 00009 * 00010 *************************************************************************** 00011 * Client Interface Base class implementation for the Client API. 00012 ***************************************************************************/ 00013 00014 #ifndef _CLIENTIFCBASE_ 00015 #define _CLIENTIFCBASE_ 00016 00017 #include <list> 00018 #include <vector> 00019 #include <memory> 00020 00021 #include "ClientIfcCommon.h" 00022 #include "api.h" 00023 00024 #if defined(ANYCONNECT_USE_SNAK) 00025 #include "SNAK_CertPlugin.h" 00026 #endif 00027 00028 #if defined(HOST_DATA_SUPPORTED) 00029 class IHostData; 00030 #endif 00031 00032 class ConnectPromptInfo; 00033 class MsgWithArg; 00034 class VPNStats; 00035 class PreferenceInfo; 00036 class ProxyIfc; 00037 class CIpcMessage; 00038 class CertObj; 00039 class HostEntry; 00040 class ClientIfcInternal; 00041 00042 #if defined(VPNAPI_EVENT_NOTIFICATION_SUPPORTED) 00043 class CEventNotificationTlv; 00044 #endif 00045 00046 #if defined(CREDENTIAL_PREFILL_SUPPORTED) 00047 class CredentialPrefill; 00048 #endif 00049 00050 #if (defined(ANYCONNECT_USE_SNAK) || defined(PLATFORM_APPLE_SSLVPN)) && !defined(PLATFORM_WIN_APP) 00051 class ManagedCertificate; 00052 #endif 00053 00054 #if defined(PROGRAM_DATA_IMPORT_SUPPORTED) 00055 class IACImporterAsync; 00056 class IACImporterAsyncCB; 00057 #endif 00058 00059 class VPN_VPNAPI ClientIfcBase 00060 { 00061 friend class EventMgr; 00062 friend class ClientIfcInternal; 00063 00064 protected: 00065 00066 ClientIfcBase(); 00067 virtual ~ClientIfcBase(); 00068 00069 /** 00070 * Callback used to deliver new statistics related to the VPN 00071 * connection. 00072 * 00073 * When a connection is active, a new set of statistics is 00074 * delivered each second. 00075 * 00076 * @see resetStats(), stopStats() and startStats() 00077 * 00078 */ 00079 virtual void StatsCB(VPNStats &stats) = 0; 00080 00081 00082 /** 00083 * Callback used to deliver VPN state and state change string. 00084 * The stateString delivered by this method is localized. 00085 * 00086 * See the ::VPNState enum found in api.h for set of valid states. 00087 */ 00088 virtual void StateCB(const VPNState state, 00089 const VPNSubState subState, 00090 const tstring stateString) = 0; 00091 00092 00093 /** 00094 * If a banner needs to be acknowledged, this CB delivers the banner 00095 * to the client. 00096 * 00097 * NOTE: Connection establishment will block until the method 00098 * setBannerResponse() is called. 00099 * 00100 * In a GUI, a banner would typically be displayed in a modal dialog 00101 * with an accept or decline button selection. 00102 * 00103 * @see setBannerResponse() to set the user response to the banner. 00104 */ 00105 virtual void BannerCB(const tstring &banner) = 0; 00106 00107 /** 00108 * If a pre-connect reminder needs to be acknowledged, this CB delivers 00109 * the pre-connect reminder to the client. 00110 * 00111 * NOTE: Connection establishment will block until the method 00112 * setPreConnectReminderResponse() is called. 00113 * 00114 * In a GUI, a pre-connect reminder would typically be displayed in a modal 00115 * dialog with an OK button selection. 00116 * 00117 * @see setPreConnectReminderResponse() to set the user acknowledgement to 00118 * the pre-connect reminder message. 00119 */ 00120 virtual void PreConnectReminderCB(const tstring &rtstrPreConnectReminder); 00121 00122 /** 00123 * Messages are delivered via the NoticeCB and can come from multiple 00124 * sources. There are four message types (error, warning, info and 00125 * status). See the ::MessageType enum in api.h for the list. 00126 * 00127 * Clients using the API as an embedded application (not 00128 * user visible) might want to further characterize 00129 * messages. One option here is to use the AnyConnect message 00130 * catalog and assign message codes as the translations for 00131 * various messages. An application could then track messages based 00132 * on its own error code scheme. 00133 */ 00134 virtual void NoticeCB(const tstring ¬ice, 00135 const MessageType type, 00136 const bool bSensitive = false) = 0; 00137 00138 #if defined(PLATFORM_APPLE_SSLVPN) || defined(PLATFORM_ANDROID) || defined(PLATFORM_CHROMEBOOK) 00139 virtual void CertBannerCB(const tstring &certBannerSummary, 00140 const uint32_t nCertBannerCertLen, 00141 const uint8_t *pCertBannerCertDer, 00142 const std::list<tstring> &confirmReasons, 00143 const std::list<CertConfirmReason> &confirmReasonEnums, 00144 bool bImportAllowed = true) = 0; 00145 #endif 00146 00147 /** 00148 * This CB would likely occur only during a connection when it was 00149 * detected that the software needed to be upgraded, or when Start 00150 * Before Logon (SBL) is being used. 00151 * 00152 * Unlike the other callback methods, this method provides a default 00153 * implementation (calling the system's exit() function). 00154 * If clients of the API wish to override this behavior, they are 00155 * responsible for ensuring that the current running process exits with 00156 * the return code specified by returnCode. 00157 * 00158 * <b>Caution</b>: IF YOU OVERRIDE THIS METHOD AND DO NOT EXIT WITH 00159 * THE PROPER CODE SOFTWARE UPDATE FUNCTIONALITY IN YOUR CLIENT WILL 00160 * BREAK 00161 */ 00162 virtual void ExitNoticeCB(const tstring &tstrNotice, 00163 const int returnCode); 00164 00165 00166 /** 00167 * Under normal operating conditions, this CB is called as soon 00168 * as the attach method completes. In case the service (vpn agent) 00169 * is not ready, this CB is not called until it is. 00170 * 00171 * Any API calls made prior to this CB being called will result in a 00172 * NoticeCB error message. 00173 */ 00174 virtual void ServiceReadyCB() = 0; 00175 00176 00177 00178 /** 00179 * This method supports prompting for single or multiple values. All 00180 * prompts are considered mandatory. 00181 * 00182 * The ConnectPromptInfo object contains a list of PromptEntry 00183 * instances. The labels and their default values (if any) can be 00184 * found in these instances. After the data has been collected from the user 00185 * it can be set into these same instances. When ready, the client 00186 * application should call the method UserSubmit() to have the 00187 * responses read by the API. 00188 */ 00189 virtual void UserPromptCB(ConnectPromptInfo &ConnectPrompt) = 0; 00190 00191 00192 /** 00193 * Use this method to provide Window Manager hints to GUI 00194 * applications. To receive these hints, the application must 00195 * identify itself as a GUI in the attach method. In addition, this 00196 * method should be overridden to receive any generated events. 00197 * 00198 * Event that can be received include those indicating that a user is 00199 * starting a second instance of the GUI application. This information 00200 * can be used to tell the already running application to un-minimize 00201 * itself and let the new program know that it should Quit (since a GUI 00202 * is already running). 00203 */ 00204 virtual void WMHintCB(const WMHint hint, 00205 const WMHintReason reason); 00206 00207 00208 /** 00209 * This method is useful when the connection to the secure gateway 00210 * has been established as part of a web-launch of the VPN tunnel. 00211 * 00212 * If the client application wishes to be notified of the secure 00213 * gateway to which the VPN has been established, this method should 00214 * be overridden. 00215 * 00216 * If the client application is started and a tunnel is already active, 00217 * this method also delivers the name of the secure gateway host. 00218 */ 00219 virtual void deliverWebLaunchHostCB(const tstring &activeHost); 00220 00221 /** 00222 * This method is called when the preference to block untrusted 00223 * servers is enabled and the current VPN server being connected 00224 * to is untrusted. Clients should present an error to the user 00225 * notifying them that the current connection to rtstrUntrustedServer 00226 * is being blocked. The client should also provide a way for the 00227 * user to change the preference to block untrusted servers. 00228 * 00229 * The user response must be indicated using setCertBlockedResponse 00230 */ 00231 virtual void CertBlockedCB(const tstring &rtstrUntrustedServer) = 0; 00232 00233 /** 00234 * This method is called when connections to untrusted VPN servers 00235 * is allowed by policies and the current VPN server being connected 00236 * to is untrusted. Clients should present a warning to the user 00237 * notifying them that the current connection to rtstrUntrustedServer 00238 * is unsafe. The reason the VPN server is untrusted is provided in 00239 * rltstrCertErrors. The client should provide a way for the user to 00240 * connect once, connect and always trust or cancel the connection. 00241 * If bAllowImport is set to false then the always trust option should 00242 * not be presented to users. 00243 * 00244 * The user response must be indicated using setCertWarningResponse 00245 */ 00246 virtual void CertWarningCB(const tstring &rtstrUntrustedServer, 00247 const std::list<tstring> &rltstrCertErrors, 00248 bool bAllowImport) = 0; 00249 00250 #if defined(PLATFORM_WIN_APP) 00251 /** 00252 * Same as above but also passes the Server certificate DER for details display 00253 */ 00254 virtual void CertWarningCB(const tstring &rtstrUntrustedServer, 00255 const std::list<tstring> &rltstrCertErrors, 00256 const std::vector<uint8_t> &rvServerCertDER, 00257 bool bAllowImport) = 0; 00258 #endif 00259 00260 /** 00261 * This method should be overridden by the client application to 00262 * exercise some control over the delivery of events from the other 00263 * protected methods in this class. 00264 * 00265 * This might be necessary in cases where a GUI/CLI is being written and 00266 * the data from this API needs to be delivered in the GUI/CLI or main 00267 * thread. In this case, you should override this method and when it 00268 * is called by the API post an event to your event queue (message 00269 * pump, etc.). After this event executes in your GUI/CLI or main thread, 00270 * call the method ClientIfc::ProcessEvents to have events delivered 00271 * to your client application. 00272 */ 00273 virtual void EventAvailable(); 00274 00275 #if defined(MANUAL_PKCS12_IMPORT_SUPPORTED) 00276 virtual void ImportPKCS12ResultCB(const std::vector<uint8_t> &certHash, 00277 const tstring &tstrError); 00278 #endif 00279 #if defined(PLATFORM_ANDROID) 00280 virtual void ClientCertificateCB(std::vector< std::pair<uint32_t, uint8_t*> > certList) = 0; 00281 virtual void AgentDetachedCB(); 00282 #endif 00283 00284 #if defined(VPNAPI_EVENT_NOTIFICATION_SUPPORTED) 00285 /** 00286 * Internal callback between ClientIfcBase and ClientIfc. 00287 */ 00288 virtual void EventNotificationInternalCB( 00289 const std::shared_ptr<CEventNotificationTlv>& spEventNtfctnTlv) = 0; 00290 #endif 00291 00292 00293 /** 00294 * Internal method for use by ClientIfc. 00295 */ 00296 void ClientIfcTransmigration(); 00297 00298 public: 00299 00300 bool attach(const ClientType clientType = ClientType_GUI, 00301 const bool requestFullCapabilities = true, 00302 const bool suppressAutoConnect = true, 00303 const bool bSuppressEventAvailableCB = false); 00304 00305 void detach(); 00306 00307 void ProcessEvents(); 00308 00309 bool hasFullCapabilities(); 00310 00311 bool isConnected(bool bSilent = false); 00312 00313 bool isAvailable(); 00314 00315 std::list<tstring> getHostNames(); 00316 00317 std::list<HostEntry> getHostEntries(); 00318 00319 tstring getDefaultHostName(); 00320 00321 bool connect( 00322 #if defined(HOST_DATA_SUPPORTED) 00323 const IHostData& host); 00324 #else 00325 tstring host); 00326 #endif 00327 00328 bool connect( 00329 #if defined(HOST_DATA_SUPPORTED) 00330 const IHostData& host, 00331 #else 00332 tstring host, 00333 #endif 00334 unsigned int origin); 00335 00336 bool setNewTunnelGroup(const tstring & group); 00337 00338 void disconnect(); 00339 00340 void cancel(); 00341 00342 void resetStats(); 00343 00344 void getState(); 00345 00346 VPNState getCurrentState(); 00347 VPNSubState getCurrentSubState(); 00348 VPNSubState getPreviousSubState(); 00349 00350 tstring getStateText(); 00351 static tstring getNoticeTypeText(MessageType msgType); 00352 00353 static tstring getStateText(VPNState state, 00354 VPNSubState subState = VPNSS_NORMAL, 00355 NETENV_STATE netEnvState = NES_NETWORK_ACCESSIBLE, 00356 const tstring& tstrConnectedHost = tstring()); 00357 00358 void setNetworkStates(NETENV_STATE netEnvState, 00359 NETCTRL_STATE netCtrlState, 00360 NETWORK_TYPE netType, 00361 bool bACBrowserForCPRemediation, 00362 bool bUpdateUI); 00363 void refreshOperatingModeForCurrentNetStates(); 00364 NETENV_STATE getCurrentNetEnvState(); 00365 NETENV_STATE getPreviousNetEnvState(); 00366 NETCTRL_STATE getCurrentNetCtrlState(); 00367 NETWORK_TYPE getCurrentNetType(); 00368 bool isACBrowserForCPRemediation(); 00369 00370 static tstring getNetCtrlText(NETCTRL_STATE netCtrlState); 00371 static tstring getNetEnvText(NETENV_STATE netEnvState, 00372 bool bSimple = false); 00373 static tstring getNetTypeText(NETWORK_TYPE netType); 00374 static tstring getQuarantinedStatusText(); 00375 static tstring getNetworkStatusSimpleText(const NETENV_STATE netEnvState, 00376 const NETCTRL_STATE netCtrlState); 00377 00378 // can't be static due to requiring operating mode information 00379 tstring getNetworkStatusText(const VPNState state, 00380 const VPNSubState subState, 00381 const NETENV_STATE netEnvState, 00382 const NETCTRL_STATE netCtrlState); 00383 00384 PreferenceInfo& getPreferences(); 00385 00386 bool savePreferences(); 00387 00388 void startStats(); 00389 00390 void stopStats(); 00391 00392 void UserSubmit(); 00393 00394 void setBanner(const tstring &banner); 00395 void setBannerResponse(bool bResponse); 00396 00397 void setPreConnectReminder(const tstring &tstrPreConnectReminder); 00398 void setPreConnectReminderResponse(); 00399 00400 bool getUserResponse(); 00401 bool isUserResponseSet(); 00402 00403 void setCertBlocked(const tstring &tstrUntrustedServer); 00404 void setCertWarning(const tstring &rtstrUntrustedServer, 00405 const std::list<tstring> &rltstrCertErrors, 00406 bool bAllowImport); 00407 #if defined(PLATFORM_WIN_APP) 00408 void setCertWarning(const tstring &rtstrUntrustedServer, 00409 const std::list<tstring> &rltstrCertErrors, 00410 const std::vector<uint8_t>& rvServerCertDER, 00411 bool bAllowImport); 00412 #endif 00413 bool getCertImportResponse(); 00414 00415 #if defined(PLATFORM_APPLE_SSLVPN) || defined(PLATFORM_ANDROID) || defined(PLATFORM_CHROMEBOOK) 00416 void setCertBanner(tstring tstrCertBannerSummary, 00417 uint32_t nCertBannerCertLen, 00418 const uint8_t *pCertBannerCertDer, 00419 const std::list<tstring> &confirmReasons, 00420 const std::list<CertConfirmReason> &confirmReasonEnums, 00421 bool bImportAllowed); 00422 00423 void setCertBannerResponse(bool bResponse, bool bImportCert); 00424 void importServerCert(std::vector<uint8_t> certData); 00425 bool setFipsMode(bool bEnableFips); 00426 #if defined(PLATFORM_ANDROID) 00427 bool setStrictMode(bool bEnableStrictMode); 00428 bool setRevocationEnabled(bool bRevocationEnabled); 00429 bool IsRevocationEnabled(); 00430 #endif // currently supported only for android 00431 #endif 00432 00433 void setUserPrompt(ConnectPromptInfo &ConnectPrompt); 00434 00435 #if defined(PLATFORM_ANDROID) 00436 void setClientCertResponse(std::vector< std::pair<uint32_t, uint8_t*> > &derList); 00437 void setAgentDetached(); 00438 bool getClientCertificates(); 00439 #endif 00440 00441 #if defined(PLATFORM_APPLE_SSLVPN) || defined(PLATFORM_ANDROID) 00442 void setSCEPEnrollInProgress(bool bInProgress); 00443 bool isSCEPEnrollInProgress(); 00444 #endif 00445 00446 #if defined(MANUAL_PKCS12_IMPORT_SUPPORTED) 00447 void setImportPKCS12Result(const std::vector<uint8_t> &certHash, const tstring &tstrError); 00448 bool requestImportPKCS12(const std::vector<uint8_t> &data); 00449 std::vector<uint8_t> importPKCS12WithPassword(const std::vector<uint8_t> &data, const tstring &password); 00450 #endif 00451 00452 void setCertBlockedResponse(bool bUnlock); 00453 void setCertWarningResponse(bool bConnect, bool bImportCert); 00454 00455 void insertStateToConnectPrompt(ConnectPromptInfo &ConnectPrompt); 00456 00457 void ExitNotice(const tstring &tstrNotice, const int code = 0); 00458 00459 void notice(const tstring &tstrNotice, 00460 const MessageType type = MsgType_Info, 00461 bool bClearLastMsg = false, 00462 bool bForce = false, 00463 bool bStateMsg = false, 00464 bool bSensitiveMsg = false); 00465 00466 void notice(MsgWithArg ¬ice, 00467 const MessageType type = MsgType_Info, 00468 bool bClearLastMsg = false, 00469 bool bForce = false, 00470 bool bStateMsg = false, 00471 bool bSensitiveMsg = false); 00472 00473 void getStats(void); 00474 00475 void setStats(VPNStats &stats); 00476 00477 void exportStats(const tstring &tstrFilePath); 00478 00479 void initState(VPNState state, 00480 VPNState previousState, 00481 VPNSubState subState); 00482 00483 void setState(VPNState state, 00484 VPNState previousState, 00485 VPNSubState subState = VPNSS_NORMAL, 00486 bool bUpdateStateMsg = true, 00487 bool bOnlyUpdateUI = false); 00488 00489 #if defined(PROGRAM_DATA_IMPORT_SUPPORTED) 00490 IACImporterAsync *createACImporter(IACImporterAsyncCB *pCallback); 00491 #endif 00492 00493 void setWMHint(WMHint hint, 00494 WMHintReason reason); 00495 00496 bool isLastConnectType (const ConnectPromptType connPromptType); 00497 00498 bool isOperatingMode(OperatingMode opMode); 00499 void setOperatingMode(OperatingMode opMode); 00500 void unsetOperatingMode(OperatingMode opMode); 00501 00502 bool CanRemediateCaptivePortal(); 00503 bool policyAllowsCaptivePortalRemediation(); 00504 00505 bool isEventShutdown(); 00506 00507 bool isUsingEventModel(); 00508 00509 time_t getLastDisconnectTime(); 00510 00511 ConnectPromptInfo getConnectPromptInfo(); 00512 void resetConnectPromptPasswordData(); 00513 00514 void setStandaloneConnection(bool isStandalone); 00515 00516 void deliverActiveHost(const tstring &activeHost, 00517 ConnectProtocolType vpnProtocol = PROTOCOL_TYPE_UNKNOWN, 00518 bool bActiveHostFriendlyName = false); 00519 00520 bool isVPNServiceReady(); 00521 00522 // reset last disconnect time indicator. 00523 // 00524 void resetLastDisconnectTime(time_t time = 1); 00525 00526 void processMinimize(); 00527 00528 // cert enrollment 00529 void setEnrollClientCert(CertObj* pCert); 00530 00531 // Show user banner for cert import warning on linux 00532 // SCEPIfc to ConnectMgr 00533 void linuxCertImportWarnUser(); 00534 00535 // Response to cert warning on linux 00536 // ConnectMgr to SCEPIfc 00537 void linuxCertImportWarnUserResponse(bool bAccept); 00538 00539 void setDefaultHost(tstring &host); 00540 00541 #if defined(HOST_DATA_SUPPORTED) 00542 void setDefaultHostProfile(const IHostData &hostProfile); 00543 IHostData* getDefaultHostData(); 00544 #endif 00545 00546 void setLastVpnError(VPNError vpnError); 00547 VPNError getLastVpnError(); 00548 00549 #if defined(PLATFORM_ANDROID) 00550 bool requestClientCertificates(); 00551 #endif 00552 00553 bool requestImportLocalization(const tstring tstrLocale, 00554 const std::vector<unsigned char> &MoFileData); 00555 00556 // Start the Automatic Headend Selection operation 00557 void startAHS(const unsigned int uiReason, 00558 const ProxyIfc& proxy); 00559 // statusReturnCode is a long to match the current type of STATUSCODE. 00560 // It is not using a STATUSCODE directly so that we do not have to 00561 // expose the header files for STATUSCODEs to ClientIfcBase.h 00562 void AHSSelectedHost(const unsigned int uiReason, 00563 const std::vector<tstring> &headendList, 00564 const long statusReturnCode, 00565 const tstring& extraInfo); 00566 std::vector<tstring> getAHSHostList(); 00567 unsigned int getAHSState(); 00568 bool isAHSHasRun(); 00569 bool IsAHSCachingRestricted(); 00570 00571 bool suppressConnectionErrorPopups(); 00572 00573 tstring getCaptivePortalDetectedMsg(); 00574 00575 void setProxyAuthPrompts(ProxyIfc* pProxy, 00576 const tstring& promptMsg); 00577 00578 #if defined(INTERPROCESS_COMMUNICATION_SUPPORTED) 00579 bool handleIpcMessage(CIpcMessage *pIpcMessage); 00580 #endif 00581 bool IsCsdTokenVerified() const; 00582 00583 #if defined(PLATFORM_APPLE_SSLVPN) || defined(PLATFORM_ANDROID) 00584 virtual void SCEPEnrollStartCB(); 00585 virtual void SCEPEnrollExitCB(); 00586 #endif 00587 00588 void activateConnectMgrTunnelInitiationCompletionEvent(); 00589 bool isConnectRequestActive(); 00590 #if defined(PLATFORM_ANDROID) || defined(PLATFORM_CHROMEBOOK) 00591 bool deleteProfileByName(const tstring &profileName); 00592 tstring getProfileContents(const tstring &profileName); 00593 bool importProfile(const tstring &profileName, const tstring &profileContents); 00594 #endif 00595 00596 bool syncProfileChange(const tstring &profileName); 00597 00598 #if defined(CREDENTIAL_PREFILL_SUPPORTED) 00599 bool hasPrefilledCredentials(); 00600 bool prefillCredentials(ConnectPromptInfo &connectPrompt); 00601 void setPrefilledCredentials(CredentialPrefill *prefill); 00602 #endif 00603 00604 #if defined(PLATFORM_ANDROID) || defined(PLATFORM_APPLE_SSLVPN) 00605 std::list<ManagedCertificate *> enumerateCertificates(CertificateType certType); 00606 bool deleteCertificates(CertificateType certType, const std::list<std::string> &idList); 00607 bool deleteServerCertificates(const std::list<std::string> &idList); 00608 #endif 00609 00610 #if defined(ANYCONNECT_USE_SNAK) && !defined(PLATFORM_WIN_APP) 00611 std::list<ManagedCertificate *> enumerateSNAKCertificates(SNAK_CertType certType); 00612 SNAK_CertType getSNAKCertType(CertificateType certType); 00613 bool deleteClientCertificates(const std::list<std::string> &idList); 00614 #endif 00615 00616 #if defined(PLATFORM_APPLE_SSLVPN) 00617 bool canUseBackupServers(); 00618 #endif 00619 00620 tstring getConnectHost(); 00621 00622 tstring getMgmtTunnelHostname(); 00623 00624 VPN_TUNNEL_SCOPE getVpnTunnelScope(); 00625 00626 bool isStandaloneConnection(); 00627 00628 void sendSSoLogoutPrompt(ConnectPromptInfo &cpi); 00629 00630 void setExternalSSOLogoutUrlFromAgent(const tstring& logoutUrl); 00631 00632 private: 00633 00634 // 00635 // Private Member Data 00636 // 00637 00638 ClientIfcInternal* m_pClientIfcInternal; 00639 00640 00641 // 00642 // Private Member Methods 00643 // 00644 00645 // Prevent copying by declaring but not defining copy constructor and operator= methods. 00646 // 00647 ClientIfcBase(const ClientIfcBase& other); 00648 ClientIfcBase& operator=(const ClientIfcBase& other); 00649 00650 }; 00651 00652 00653 #endif // _CLIENTIFCBASE_