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

📄 sipb_stestinfo.h

📁 sip torture test tools
💻 H
字号:
//sipb_stestinfo.h//Copyright (C) 2003 Metalink LTD//Author: Rodionov Sergey (seger@metalinkltd.com)//This program is distributed under terms of GPL (see LICENSE)//sipbomper simple test info#ifndef __SEGER__MLTD__SIPB_STESTINFO_H__#define __SEGER__MLTD__SIPB_STESTINFO_H__#include "sipb_stpacket.h"#include <string>using namespace std;class sipb_stestinfo{ public:   sipb_stestinfo(string name_){name=name_; _is_complit=false;};   virtual ~sipb_stestinfo(){};      virtual void add_packet(sipb_stpacket*p)=0;  //<--- Run from thread   virtual void add_generrwarn(sipb_errwarn)=0; //<--- Run from thread   virtual void add_lasterrwarn(sipb_errwarn)=0;//<--- Run from thread   virtual void set_complit()=0;                //<--- Run from thread   virtual void set_wantstop()=0;               //<--- Use sharead data   virtual bool check_wantstop()=0;              //<---Run from thread      bool  is_complit()     {return _is_complit;}; protected:   sipb_errwarn             gen_errwarn;  //general error and warning   bool                     _is_complit;  //complit or not   string                   name;        //name of test};#endif

⌨️ 快捷键说明

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