📄 stafdelegatedservice.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_DelegatedService#define STAF_DelegatedService#include "STAFService.h"// STAFDelegatedService - Handles service requests via TCP/IPclass STAFDelegatedService : public STAFService{public: STAFDelegatedService(STAFString name, STAFString machine, STAFString toName); virtual STAFServiceResult acceptRequest( const STAFServiceRequest &requestInfo); virtual STAFString info(unsigned int raw = 0) const; virtual STAFString getLibName() const { return STAFString("<Delegated>"); } // XXX: In the future we'd like to provide additional information such as // "Delegated to <fToName> on <fMachine>" (for a LIST SERVICES request) virtual ~STAFDelegatedService();private: // Don't allow copy construction or assignment STAFDelegatedService(const STAFDelegatedService &); STAFDelegatedService &operator=(const STAFDelegatedService &); STAFString fMachine; STAFString fToName;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -