interface_qdnsserver.h
来自「BCB下的高效开发包。包含大并发的网络库」· C头文件 代码 · 共 22 行
H
22 行
#ifndef Interface_QDNSServerH
#define Interface_QDNSServerH
#include <string>
//---------------------------------------------------------------------------
class IQDNSServer
{
public:
virtual __stdcall ~IQDNSServer() {}
virtual void __stdcall Release(void) = 0;
virtual bool __stdcall Start(int Thread) = 0;
virtual void __stdcall Stop(void) = 0;
virtual bool __stdcall IsPowerOn(void)const = 0;
virtual bool __stdcall PushTask(const std::string& HostName, const std::string& TaskName) = 0;
virtual bool __stdcall ReadResult(std::string* pTaskName, std::string* pIp) = 0;
virtual int __stdcall GetBuzy(void)const = 0;
public:
static IQDNSServer* __stdcall Create(void);
};
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?