⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stafexternalservice.h

📁 Software Testing Automation Framework (STAF)的开发代码
💻 H
字号:
/*****************************************************************************//* Software Testing Automation Framework (STAF)                              *//* (C) Copyright IBM Corp. 2001                                              *//*                                                                           *//* This software is licensed under the Common Public License (CPL) V1.0.     *//*****************************************************************************/#ifndef STAF_ExternalService#define STAF_ExternalService#include <list>#include "STAFService.h"#include "STAFServiceInterface.h"#include "STAFDynamicLibrary.h"// STAFExternalService - Handles interfacing with all services that aren't//                       delegated and don't exist within STAFProc itself.//                       Essentially, this class interfaces with DLLs that//                       implement services or act as proxies for services.class STAFExternalService : public STAFService{public:    typedef std::list<STAFString> OptionList;    STAFExternalService(STAFString name, STAFString implLib, STAFString exec,                        OptionList options, STAFString parms,                        STAFServiceType_t serviceType);        virtual STAFServiceResult init();    virtual STAFServiceResult acceptRequest(                              const STAFServiceRequest &requestInfo);    virtual STAFServiceResult term();    virtual STAFString info(unsigned int raw = 0) const;    virtual STAFString getLibName() const;    virtual STAFString getExecutable() const;    virtual STAFString getParameters() const;    virtual STAFObjectPtr getOptions() const;    virtual ~STAFExternalService();private:    // Don't allow copy construction or assignment    STAFExternalService(const STAFExternalService &);    STAFExternalService &operator=(const STAFExternalService &);    unsigned int getLevel(STAFServiceLevelID levelID, const char *errorString,                          unsigned int stafMin, unsigned int stafMax);    STAFServiceHandle_t fServiceHandle;    STAFString fLibName;    STAFDynamicLibrary fImplLib;    STAFString fExec;    STAFString *optionNames;    STAFString *optionValues;    STAFString fParms;    STAFObjectPtr fOptions;    STAFServiceGetLevelBounds_t fGetBounds;    unsigned int fLevelConstruct;    STAFServiceConstruct_t fConstruct;    unsigned int fLevelInit;    STAFServiceInit_t fInit;    unsigned int fLevelAcceptRequest;    STAFServiceAcceptRequest_t fAcceptRequest;    unsigned int fLevelTerm;    STAFServiceTerm_t fTerm;    unsigned int fLevelDestruct;    STAFServiceDestruct_t fDestruct;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -